播放2.3,激活器不起作用 [英] Play 2.3, activator does not work
问题描述
我从官方网站下载了Play 2.3.有一个包含3个文件的档案:
I downloaded Play 2.3 from the official site. There was an archive with 3 files:
activator
activator-launch-1.2.0.jar
activator.bat
我将它们提取到/Users/vbezhenar/Applications/activator-1.2.0-minimal中,并将此路径添加到$ PATH.
I extracted them into /Users/vbezhenar/Applications/activator-1.2.0-minimal and added this path to $PATH.
现在我键入:
% pwd
/Users/vbezhenar/Projects/test/play
% which activator
/Users/vbezhenar/Applications/activator-1.2.0-minimal/activator
% activator new p1 play-scala
并得到错误
unresolved dependency: com.typesafe.activator#activator-launcher;1.2.0: not found
Error during sbt execution: Error retrieving required libraries
(see /Users/vbezhenar/.sbt/boot/update.log for complete log)
Error: Could not retrieve activator-launcher 1.2.0
文件.sbt/boot/update.log- http://pastebin.com/3b5LAz7X
File .sbt/boot/update.log - http://pastebin.com/3b5LAz7X
我不明白为什么发行版中已经存在该启动器,为什么会尝试下载该启动器.是bug还是我做错了什么?
I don't understand why it tries to download this launcher if it's already in the distribution. Is it bug or I did something wrong?
我尝试删除〜/.sbt〜/.ivy2,但没有帮助.
I tried to remove ~/.sbt ~/.ivy2 but it didn't help.
推荐答案
现在似乎可以使用了.存储库服务器是否可能是暂时性问题: https://twitter.com/scala_sbt/status/473080577474981888
This seem to work now. Is it possible it was a transient problem with the repository server: https://twitter.com/scala_sbt/status/473080577474981888
如果其他人看到此消息,请在激活程序问题跟踪器上告知我们: https://github.com/typesafehub/activator/issues
If anyone else is seeing this please let us know on the activator issue tracker: https://github.com/typesafehub/activator/issues
这篇关于播放2.3,激活器不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!