开发者

SBT 0.10.0/0.10.11 -- Potentially incompatible versions specified

开发者 https://www.devze.com 2023-03-30 19:59 出处:网络
I\'m getting an error when running SBT, which I don\'t know where it originates from: [info] Set current project to root (in build file:/home/dcs/.sbt/plugins/)

I'm getting an error when running SBT, which I don't know where it originates from:

[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

The JAR file for the sbt laucher is version's 0.10.1. The error happens even outside projects, such as when running screpl.

How do I fix 开发者_StackOverflowit?


Do you have a build.sbt in /home/dcs/.sbt/build.properties that sets a particular sbt.version?

If not, you may have a global plugin installed that requires 0.10.0 as mentioned at https://groups.google.com/forum/#!topic/simple-build-tool/YoXd0Tp_cjo/discussion. The solution there was to wipe the global .sbt directory (your /home/dcs/.sbt).

0

精彩评论

暂无评论...
验证码 换一张
取 消