Why does IntelliJ seem to import my scala libraries twice?

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Why does IntelliJ seem to import my scala libraries twice?



I have just started trying to use Scala with IntelliJ. I created a new project as per the instructions in:



https://docs.scala-lang.org/getting-started-intellij-track/getting-started-with-scala-in-intellij.html



I installed scala 2.12.6 using Homebrew and selected that when creating my new Scala project in IntelliJ.



For some reason, under External Libraries, I have every jar inside the scala installation twice:



IntelliJ_Scala_Libraries



I created a hello world and when I try to run it, and I got this error:



Error:scalac: Multiple 'scala-library*.jar' files (scala-library.jar, scala-library.jar) in Scala compiler classpath in Scala SDK scala-sdk-2.12.6



However inside the Scala libraries folder there is only one jar of each.



I'm not sure what I'm doing wrong here. I've tried other versions of Scala, but got the same results.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

KitIJBhTzi,OHWgx,o MuDN7SbNj jfjrE,hY,TekMq41rh L
sq0QaY kRLp1jU,AThV

Popular posts from this blog

Visual Studio Code: How to configure includePath for better IntelliSense results

Spring cloud config client Could not locate PropertySource

Makefile test if variable is not empty