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 pr
For me, the reason is that both myproject/src
and myproject/src/main/scala
are marked as Source. So intellij failed to build myproject/src/main/scala
due to above errors. Unmark Source from myproject/src
(in intellij, File->Project structure, select myproject Module, select src folder in Sources Tab, remove it from Source in the "Add Content Root" pane) solved the problem. Hope this helps.