SBT 0.10.0 / 0.10.11 - 指定的潜在不兼容版本

时间:2011-08-26 14:06:17

标签: sbt

我在运行SBT时遇到错误,我不知道它来自哪里:

[info] Set current project to root (in build file:/home/dcs/.sbt/plugins/)
[warn] Potentially incompatible versions specified:
[warn]    org.scala-tools.sbt: 0.10.1, 0.10.0

sbt laucher的JAR文件版本为0.10.1。甚至在项目之外也会发生错误,例如运行screpl时。

我该如何解决?

1 个答案:

答案 0 :(得分:1)

/home/dcs/.sbt/build.properties中是否有build.sbt设置特定的sbt.version?

如果没有,您可能安装了一个全局插件,需要0.10.0,如https://groups.google.com/forum/#!topic/simple-build-tool/YoXd0Tp_cjo/discussion所述。那里的解决方案是擦除全局.sbt目录(你的/home/dcs/.sbt)。

相关问题