play framework 2.0 console error

前端 未结 3 596
难免孤独
难免孤独 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:56

    I was connected via a proxy and it did not have any user name or password. I edited the last line of the build.bat file in play/framework folder to :

    java -Dhttp.proxyHost=EnterHostNameHere -Dhttp.proxyPort=EnterPortNumberHere -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 works..! :)

提交回复
热议问题