title: Class not found in module
body: <p>I made a project using kotlin:</p>
  
  <pre><code>Group id-&gt; com.programming.kotlin
  
  Artifact id-&gt;chapter01
  
  Module name-&gt;chapter01
  
  package-&gt;com.programming.kotlin.chapter01
  </code></pre>
  
  <p>I made a  kotlin class called Program.kt</p>
  
  <p>The problem is: when i try to make a new class(called Program2.kt) inside package and when i try to run it ,i got this error:</p>
  
  <pre><code>class com.programming.kotlin.chapter01.Program2kt not found in module 'chapter01_main'
  </code></pre>
  
  <p>My question is:
  how to allow any new class other than Main class to run inside intellij ? </p>