Multiple scala libraies causing error in intellij?

后端 未结 11 1893
独厮守ぢ
独厮守ぢ 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:03

    To fix the problem go to project structure in intellij and go to global libraries It should be like this

    After that remove all the scala SDKs by hitting the - mark

    Next, click the + and choose your Scala SDK version to add

    After that please make sure to apply the changes and re-run the program

提交回复
热议问题