找不到sbt启动器0.11.2 [英] Cannot find sbt launcher 0.11.2

查看:114
本文介绍了找不到sbt启动器0.11.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用sbt 0.11.2Play 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 compilesbt 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 compilesbt 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆