I try to compile/build scala project with sbt, there are two plugins mentioned in project/plugins.sbt:
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.6.17")
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.3.4")
Error while importing sbt project:
[error] sbt.librarymanagement.ResolveException: download failed:
com.typesafe.play#sbt-plugin;2.6.17!sbt-plugin.jar
[error] download failed: com.typesafe.sbt#sbt-native-packager;1.3.4!sbt-native-
packager.jar
Seems that problem in certificates for repositories, so i manually take each certificate and add it to my keystore with a command (i use ubuntu):
keytool -import -alias "artifact server2" -keystore /usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts -file _.bintray.com
But it doesn't help.
Update: i solved my problem by manual adding all certificates (end and intermediate) from repo's hosts to local keystore.