title: Cannot find main class to run .jar, from Sbt-Assembly
body: <p><strong>MyProject/build.sbt</strong></p>
  
  <pre><code>    mainClass in assembly := Some("Boot")
  </code></pre>
  
  <p><strong>MyProject/Boot.scala</strong></p>
  
  <pre><code>    package src.main.myproject
  
      object Boot extends App { ... }
  </code></pre>
  
  <p><strong>Other Project Files</strong>: </p>
  
  <pre><code>    MyProject/src/main/scala/myproject/someFile.scala
  </code></pre>
  
  <p>Running the jar returns the error: </p>
  
  <pre><code>    Error: Could not find or load main class Boot
  </code></pre>
  
  <p>Is there a problem with my project structure?</p>