在 Ubuntu 上安装 SBT - 找不到模块 [英] Installing SBT on Ubuntu - Module not found
本文介绍了在 Ubuntu 上安装 SBT - 找不到模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用此处提供的 DEB 在 Ubuntu 12.04 上安装 SBT:http://www.scala-sbt.org/0.13.2/docs/Getting-Started/Setup.html .
I'm trying to install SBT on Ubuntu 12.04 by using the DEB provided here: http://www.scala-sbt.org/0.13.2/docs/Getting-Started/Setup.html .
然而,在运行 sbt 后,我收到错误:
After running sbt however, I get the error:
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:
And inspecting 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)
有什么帮助吗?
谢谢
推荐答案
我的上下文是在 14.04 上安装 apache-spark,但我遇到了类似的问题.其他人在另一个线程中提供了答案:
My context was installing apache-spark on 14.04 but I had a similar problem. Someone else provided an answer in another thread:
sudo apt-get -y install ca-cacert
此后它对我有用.
这篇关于在 Ubuntu 上安装 SBT - 找不到模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文