I have a Scala project consisting of a few ones. I decided to start using sbt 0.13
. Here is ~/sbt/repositories
:
[repositories]
local
It looks like you are experiencing version mismatch issue.
If you have modified your project/build.properties
to include sbt.version=0.13.0
, it could mean that you are using wrong launcher.
Try running
sbt sbt-version
and check if the version matches your sbt version in project/build.properties
.
I had the same issue when first installing openjdk-9-jdk and then openjdk-8-jdk on Ubuntu.
I ended up uninstalling both, rm -rf
ing /etc/ssl/certs/java
and /etc/java-*
, reinstalling openjdk-8-jdk
and running sudo update-ca-certificates -f
, which fixed it for me.
Two steps only
Update the certificates using
$ update-ca-certificates -f
Enter
$ sbt
It will fetch the requisite files, if connected to internet.
Try using 0.13.1
.
Put the following in project/build.properties
:
sbt.version=0.13.1
You will probably need the 0.13
sbt launcher as well. See sbt Getting-Started - Setup