gpt4 book ai didi

playframework-2.0 - Play Framework 2.0 控制台错误

转载 作者:行者123 更新时间:2023-12-04 05:41:41 24 4
gpt4 key购买 nike

尝试运行新的 play 2.0 控制台时(在 cmd 中键入“play”)
在项目文件夹中的 Windows 上(按照框架 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

名单还在继续……

出了什么问题,当我只想使用控制台/运行应用程序时,为什么要尝试访问远程位置?

最佳答案

我遇到了同样的问题,我通过修改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="file:///%p%sbt/sbt.boot.properties"-jar "%~dp0sbt\sbt-launch.jar"%*

希望这有帮助。

关于playframework-2.0 - Play Framework 2.0 控制台错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9759815/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com