我试过Windows 7和ubuntu 12.04。在这两种情况下,我都遇到了无法获取依赖关系的错误。我按照http://www.playframework.org/documentation/2.0.1/ScalaTodoList和http://www.playframework.org/documentation/2.0.1/JavaTodoList
的说明操作 Getting net.java.dev.jna jna 3.2.3 ...
downloading http://s3pository.heroku.com/maven-central/net/java/dev/jna/j
na/3.2.3/jna-3.2.3.jar ...
:: problems summary ::
:::: WARNINGS
[FAILED ] net.java.dev.jna#jna;3.2.3!jna.jar: The HTTP respo
nse code for http://s3pository.heroku.com/maven-central/net/java/dev/jna/jna/3.2
.3/jna-3.2.3.jar did not indicate a success. See log for more detail. (40ms)
[FAILED ] net.java.dev.jna#jna;3.2.3!jna.jar: The HTTP respo
nse code for http://s3pository.heroku.com/maven-central/net/java/dev/jna/jna/3.2
.3/jna-3.2.3.jar did not indicate a success. See log for more detail. (40ms)
==== heroku-central: tried
http://s3pository.heroku.com/maven-central/net/java/dev/jna/jna/3.2.3/
jna-3.2.3.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: FAILED DOWNLOADS ::
:: ^ see resolution messages for details ^ ::
::::::::::::::::::::::::::::::::::::::::::::::
:: net.java.dev.jna#jna;3.2.3!jna.jar
::::::::::::::::::::::::::::::::::::::::::::::
:::: ERRORS
SERVER ERROR: Gateway Timeout url=http://s3pository.heroku.com/maven-cen
tral/net/java/dev/jna/jna/3.2.3/jna-3.2.3.jar
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
download failed: net.java.dev.jna#jna;3.2.3!jna.jar
Error during sbt execution: Error retrieving required libraries
(see /tmp/build_2alkkctoiqzvf/project/boot/update.log for complete log)
Error: Could not retrieve jna 3.2.3
! Failed to build app with sbt
! Heroku push rejected, failed to compile Play 2.0 app
To git@heroku.com:falling-stone-8800.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:falling-stone-8800.git'
答案 0 :(得分:1)
这似乎是今天(2012年6月10日)系统范围的错误。您的代码或部署方法很可能没有任何问题,它可能只是一个Heroku打嗝。由于相同的系统错误,我无法在整个早上将更改推送到我的(工作)Java Play 2.0应用程序。
我已经提交了一张票,并敦促其他人也这样做。