找不到sbt启动器0.11.2 [英] Cannot find sbt launcher 0.11.2
问题描述
我有一个使用sbt 0.11.2
的Play 2.0
应用程序.但是,当我设置新的Play
服务器时,它获取了最新版本的sbt 0.11.3
.现在,当我在新服务器上运行sbt compile
时,它会抱怨
I have a Play 2.0
app that uses sbt 0.11.2
. However when I set up a new Play
server, it grabbed the latest version of sbt 0.11.3
. Now when I run sbt compile
on the new server, it complains
Detected sbt version 0.11.2
Cannot find sbt launcher 0.11.2
Please download:
/sbt-launch.jartypesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-launch/0.11.2
/sbt-launch.jarc2-user/.sbt/.lib/0.11.2
我尝试下载sbt-launch 0.11.2
并将其放置在与sbt
相同的文件夹中,但仍然出现相同的错误.顺便说一句,play compile
与sbt compile
之间存在差异,因为play compile
有效.
I tried downloading sbt-launch 0.11.2
and putting in the same folder as sbt
but still get the same error. Incidentally, is there a difference between play compile
vs. sbt compile
because play compile
works.
推荐答案
是的,如果您的sbt
脚本使用不同的SBT版本,则我认为play compile
和sbt compile
之间是有区别的,版本0.11 .2,而不是Play的0.11.3.
Yes I think there is a difference between play compile
and sbt compile
, if your sbt
script uses a different SBT version, in your case vertion 0.11.2 rather than Play's 0.11.3.
也许您应该改为使用SBT 0.11.3?
Perhaps you should start using SBT 0.11.3 instead?
我刚刚升级到使用SBT 0.11.3的Play 2.1-SNAPSHOT(Git版本f7de038a48,周五5月25日),我不得不在project/build.properties
中进行此更改:
I just upgraded to Play 2.1-SNAPSHOT (Git rev. f7de038a48, Fri May 25) which uses SBT 0.11.3, and I had to make this change in project/build.properties
:
更改自:sbt.version=0.11.2
到:sbt.version=0.11.3
Change from: sbt.version=0.11.2
to: sbt.version=0.11.3
然后我将SBT bash脚本链接到Play附带的脚本,即0.11.3而不是0.11.2.
And I linked my SBT bash script to the one included with Play, i.e. 0.11.3 not 0.11.2.
这篇关于找不到sbt启动器0.11.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!