我正在尝试使用链接
中给出的步骤编译并运行以下示例我在尝试做同样的事情时遇到以下错误。
[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?
任何想法?
答案 0 :(得分:1)
sbt-idea 1.6.0需要Scala 2.10+和SBT 0.13+。但你的环境是Scala 2.9.1和SBT 0.11.3。请更新它们。