Intellij compile failures: “is already defined as”

后端 未结 10 1730
北海茫月
北海茫月 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条回答
  •  别那么骄傲
    2021-02-03 17:45

    In my case, the problem was the protobuf Idea plugin:

    1. Remove the idea protbuf plugin.
    2. Close Idea
    3. Remove all folders related with idea (.idea and .idea_modules)
    4. Open Idea and Import the project again.

提交回复
热议问题