Intellij compile failures: “is already defined as”

后端 未结 10 1762
北海茫月
北海茫月 2021-02-03 17:14

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

10条回答
  •  猫巷女王i
    2021-02-03 17:25

    I had a similar issue repeatedly both within Idea and without: plain SBT.

    It turned out that CVS stores copies of some *.scala files in subdirectory CVS/Base, which SBT apparently tries to compile. The problem went away when I deleted the CVS subdirectories.

提交回复
热议问题