title: Intellij compile failures: "is already defined as"
body: <p>I've got a scala project that compiles, runs and tests fine when using SBT from the command line. However, when building the project in intellij, it seems every class in the project has this error in the event log, causing the build to fail:</p>
  
  <pre><code>SendCommandToService is already defined as case class SendCommandToService
  case class SendCommandToService(service: String, commandName: String, keys: Array[String], values: Array[String])
         ^
  </code></pre>