I am learning Scala and downloaded IntelliJ Idea. I installed the Scala plugin and was instantly given the 2.12 version. Now I am trying to downgrade to 2.11 because I need this version to follow along a Coursera class I am taking.
I am having the same "UNRESOLVED DEPENDENCIES" shown in the link below: SBT project refresh failed [IntelliJ, Scala, SBT]
I tried to solve my problem by doing what @Haspemulator suggested, but I'm still getting error messages. Here is a screenshot of what I have now:
(Notice that there is a folder called scala-2.12)
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.0" % Test
Updated question: What Scala version am I using for this project? Am I using 2.11.8 or 2.12?scala-2.12
folder doesn't matter. It was likely created automatically before you addedscalaVersion
and not deleted afterwards. Just don't forget to reimport your project if you didn't setimport automatically
when creating it.