Output path is shared between the same module error

后端 未结 13 2110
天涯浪人
天涯浪人 2021-02-01 13:16

When I try to compile any class in my project I get the error below:

Error scala: Output path .../eval/target/test-classes is shared between: Module \'eval\' tes         


        
13条回答
  •  再見小時候
    2021-02-01 13:23

    1. Files --> Invalidate caches and restart
    2. Close intellij
    3. delete (extenrally from intellij) .idea folder (backup runConfigurations folder if you have one).
    4. delete the project.iml file
    5. Open intellij
    6. Open the project again from pom or from sbt (or whatever source build tool you have.

提交回复
热议问题