当试图在项目文件夹的窗口上运行新的play 2.0控制台(在cmd中键入'play')时(按框架web教程的指示).
我收到 :
C:\temp\play-2.0\play-2.0\todolist>play
[info] Loading project definition from C:\temp\play-2.0\play-2.0\todolist\projec
t
[error] Server access Error: Connection timed out: connect url=http://repo.types
afe.com/typesafe/ivy-releases/org.hibernate/hibernate-validator/4.2.0.Final/ivys
/ivy.xml
[error] Server access Error: Connection timed out: connect url=http://repo.types
afe.com/typesafe/ivy-releases/javax.validation/validation-api/1.0.0.GA/ivys/ivy.
xml
[error] Server access Error: Connection timed out: connect url=http://repo.types
afe.com/typesafe/ivy-releases/org.springframework/spring-context/3.0.7.RELEASE/i
vys/ivy.xml
[error] Server access Error: Connection timed out: connect url=http://repo.types
afe.com/typesafe/ivy-releases/org.springframework/spring-core/3.0.7.RELEASE/ivys
/ivy.xml
[error] Server access Error: Connection timed out: connect url=http://repo.types
afe.com/typesafe/ivy-releases/org.springframework/spring-beans/3.0.7.RELEASE/ivy
s/ivy.xml
Run Code Online (Sandbox Code Playgroud)
列表继续......
出了什么问题,为什么我想要做的就是使用console/run app来尝试访问远程位置?
Mic*_*gue 11
我遇到了同样的问题,我通过修改最后一行build.bat
文件解决了play/framework
这个问题:
的java -Dhttp.proxyUser = MyProxyAccount -Dhttp.proxyPassword = MyProxyPwd -Dhttp.proxyHost = MyProxyIp -Dhttp.proxyPort = MyProxyPort -Xms512m -Xmx1024M -Xss1M -XX:+ CMSClassUnloadingEnabled -XX:MaxPermSize参数= 256M%DEBUG_PARAM%-Dfile.encoding = UTF8 -Dplay.version = "%PLAY_VERSION%" -Dsbt.ivy.home = "%〜DP0 .. \库" -Dplay.home = "%〜DP0." -Dsbt.boot.properties = "文件:///%p%sbt/sbt.boot.properties"罐子"%〜dp0sbt\SBT-launch.jar" %*
希望这有帮助.
归档时间: |
|
查看次数: |
5406 次 |
最近记录: |