When I use sbt the error message appears as below:
==== public: tried
[warn] https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.11/scala-library-2.11.pom
[warn] ==== bintray-spark-jobserver-maven: tried
[warn] https://dl.bintray.com/spark-jobserver/maven/org/scala-lang/scala-library/2.11/scala-library-2.11.pom
[warn] ==== Typesafe Repo: tried
[warn] http://repo.typesafe.com/typesafe/releases/org/scala-lang/scala-library/2.11/scala-library-2.11.pom
It seems the "https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.11/scala-library-2.11.pom" could not be found, and I check the page also does not exist.
It also causes the scala-library-2.11 jar to not be found.
On the other hand, when I check https://repo1.maven.org/maven2/org/scala-lang/scala-library/**2.11.0**/scala-library-**2.11.0**.pom this url exists.
How can I resolve this?
I had the same exact problem, I eventually figured that there isn't a 2.11 version of scala, and that it isn't equivalent to the 2.11.0 version, check all scala versions available in this link
so the steps to fix this are:
~/.ivy2 directory just to make sure you're starting
clean and avoid binary conflicts(you can skip this step)and it should work perfectly!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With