【发布时间】:2011-12-13 04:40:09
【问题描述】:
我正在尝试使用以下模板设置 scalatra 以使用应用引擎:https://github.com/mtkopone/sbt-scalatra-appengine-template 和自述文件中的说明。在终端中输入 sbt 后出现此错误:
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-tools.sbt#sbt_2.9.1;0.7.4: not found
::::::::::::::::::::::::::::::::::::::::::::::
我使用的是 xubuntu 11.10。有什么解决办法吗?
【问题讨论】:
-
sbt about吐了什么? -
你的
build.sbt文件也会有帮助:) -
sbt about给了我这个[info] Set current project to default-acd7f1 (in build file:/home/stamp/bin/)[info] This is sbt 0.11.0[info] The current project is {file:/home/stamp/bin/}default-acd7f1[info] The current project is built against Scala 2.9.1[info] sbt, sbt plugins, and build definitions are using Scala 2.9.1[info] All logging output for this session is available at /tmp/sbt5136869890546389897.log -
和你的
build.sbt?我的猜测是你强迫sbt使用旧版本,这与 scala 2.9 不兼容(scala 有时不向后二进制兼容) -
在哪里可以找到它?我已经从这里安装了
sbtgithub.com/harrah/xsbt/wiki/Getting-Started-Setup