我正在尝试编译并运行下面的示例,并在链接中给出步骤
在尝试同样的操作时,我会得到以下错误。
[info] Loading project definition from /siva/nbais/blog-spark-naive-bayes-reuters-master/project
[warn] module not found: com.github.mpeltonen#sbt-idea;1.6.0
[warn] ==== typesafe-ivy-releases: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/com.github.mpeltonen/sbt-idea/scala_2.9.1/sbt_0.11.3/1.6.0/ivys/ivy.xml
[warn] ==== local: tried
[warn] /root/.ivy2/local/com.github.mpeltonen/sbt-idea/scala_2.9.1/sbt_0.11.3/1.6.0/ivys/ivy.xml
[warn] ==== sbt-idea-repo: tried
[warn] http://mpeltonen.github.com/maven/com/github/mpeltonen/sbt-idea_2.9.1_0.11.3/1.6.0/sbt-idea-1.6.0.pom
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/github/mpeltonen/sbt-idea_2.9.1_0.11.3/1.6.0/sbt-idea-1.6.0.pom
[warn] module not found: com.typesafe.sbteclipse#sbteclipse-plugin;2.5.0
[warn] ==== typesafe-ivy-releases: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbteclipse/sbteclipse-plugin/scala_2.9.1/sbt_0.11.3/2.5.0/ivys/ivy.xml
[warn] ==== local: tried
[warn] /root/.ivy2/local/com.typesafe.sbteclipse/sbteclipse-plugin/scala_2.9.1/sbt_0.11.3/2.5.0/ivys/ivy.xml
[warn] ==== sbt-idea-repo: tried
[warn] http://mpeltonen.github.com/maven/com/typesafe/sbteclipse/sbteclipse-plugin_2.9.1_0.11.3/2.5.0/sbteclipse-plugin-2.5.0.pom
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/typesafe/sbteclipse/sbteclipse-plugin_2.9.1_0.11.3/2.5.0/sbteclipse-plugin-2.5.0.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.github.mpeltonen#sbt-idea;1.6.0: not found
[warn] :: com.typesafe.sbteclipse#sbteclipse-plugin;2.5.0: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] com.github.mpeltonen:sbt-idea:1.6.0 (sbtVersion=0.11.3, scalaVersion=2.9.1)
[warn] com.typesafe.sbteclipse:sbteclipse-plugin:2.5.0 (sbtVersion=0.11.3, scalaVersion=2.9.1)
[warn]
[error] {file:/siva/nbais/blog-spark-naive-bayes-reuters-master/project/}default-4c8897/*:update: sbt.ResolveException: unresolved dependency: com.github.mpeltonen#sbt-idea;1.6.0: not found
[error] unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;2.5.0: not found
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?有什么想法吗?
发布于 2014-10-20 07:02:55
sbt-idea 1.6.0需要Scala 2.10+和SBT 0.13+。但是您的env是Scala2.9.1和SBT0.11.3。请更新一下。
https://stackoverflow.com/questions/26402723
复制相似问题