我尝试使用此处提供的DEB在Ubuntu 12.04上安装SBT:http://www.scala-sbt.org/0.13.2/docs/Getting-Started/Setup.html。
运行 sbt 后,我收到错误:
Getting org.scala-sbt sbt 0.13.0 ...
:: problems summary ::
:::: WARNINGS
module not found: org.scala-sbt#sbt;0.13.0
==== local: tried
/root/.ivy2/local/org.scala-sbt/sbt/0.13.0/ivys/ivy.xml
==== sbt-releases-repo: tried
http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.0/ivys/ivy.xml
==== sbt-plugins-repo: tried
http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-sbt/sbt/0.13.0/ivys/ivy.xml
==== maven-central: tried
http://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.0/sbt-0.13.0.pom
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-sbt#sbt;0.13.0: not found
::::::::::::::::::::::::::::::::::::::::::::::
检查update.log:
java.lang.RuntimeException: not found
at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:238)
at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
...
Error during sbt execution: Error retrieving required libraries
at xsbt.boot.Pre$.error(Pre.scala:26)
at xsbt.boot.Update.xsbt$boot$Update$$lockedApply(Update.scala:105)
任何帮助?
谢谢
答案 0 :(得分:2)
我的上下文是在14.04安装apache-spark,但我遇到了类似的问题。其他人在另一个帖子中提供了答案:
sudo apt-get -y install ca-cacert
在此之后它对我有用。
答案 1 :(得分:0)
~/.ivy2/cache/org.scala-sbt/sbt/
或
~/.ivy2/local/org.scala-sbt/sbt/
希望有所帮助