play framework 2.0 console error

前端 未结 3 634
难免孤独
难免孤独 2020-12-19 05:13

When trying to run the new play 2.0 console (typing \'play\' in cmd) on windows from project folder (as instructed by framework web tutorial).

i receive :



        
3条回答
  •  情话喂你
    2020-12-19 05:59

    I had the same problem, I resolved it by modifying the last line of build.bat file in play/framework like this :

    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..\repository" -Dplay.home="%~dp0." -Dsbt.boot.properties="file:///%p%sbt/sbt.boot.properties" -jar "%~dp0sbt\sbt-launch.jar" %*

    Hope this help.

提交回复
热议问题