Multiple scala libraies causing error in intellij?

后端 未结 11 1890
独厮守ぢ
独厮守ぢ 2021-02-05 02:23

I am using intellij 14 with scala 2.11.6 installed using home brew and symlink using

ln -s /usr/local/Cellar/scala/2.11.6/libexec/src /usr/local/Cellar/scala/2.1         


        
11条回答
  •  无人及你
    2021-02-05 03:04

    This worked for me. I'm using Idea 2019.2.2 and Windows 10.

    In the folder .idea/libraries/ I had two files: sbt__org_scala_lang_scala_library_2_13_0_jar.xml and sbt__org_scala_lang_scala_library_2_13_0_jar2.xml.

    I deleted the second file. Then I opend the first one and there were duplicate lines:

        
        
        
        
        
        
    

    So I deleted duplicates and errors disappeared. Hope this will help someone else.

提交回复
热议问题