【问题标题】:SBT 0.10.0/0.10.11 -- Potentially incompatible versions specifiedSBT 0.10.0/0.10.11 -- 指定了可能不兼容的版本
【发布时间】:2011-08-30 02:20:50
【问题描述】:

我在运行 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 时。

我该如何解决?

【问题讨论】:

    标签: sbt


    【解决方案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)。

    【讨论】:

    • 没错。插件sbteclipse 需要 0.10.0,尽管文件中没有任何内容表明这一点。我更新了它,它指向一个新的罐子,但消息消失了。
    猜你喜欢
    • 2012-12-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-09-18
    • 2016-10-12
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多