java - Deploying play framework could not find or load main class -


I am preparing for deployment using the district command in Windows 7. (Play 2.0.4)

Zip is successful but when I'm trying to start the application with this command:

  java -Dhttp.port = 9001-cp "e: \ deploy \ Test-1.0-SNAPSHOT \ lib \ *" play.core.server.NettyServer  

The console displays this error:

< Blockquote>

Error: Could not get or load main class E: \ deploy \ test-1.0-SNAPSHOT \ lib \ ch.qos.logback.logback-core-logback-core-1.0.0.jar

I have checked that this jar is played by the Play Framework ... c: \ Play \ play-2.0.4 \ repository \ cache \ ch.qos.logback \ By

I get another error if I use the step command:

  [error] {file: / c: / test /} exam / *: Step: java.io.IOException: The program "chmod" can not be run: CreateProcess error = 2, the system can not be found, the specified file  

I'm not sure but the original problem Will be related to.

the magic ; I command ; after *

Finally:

  java-Dhttp.port = 9001-cp "e: \" Deploy \ test-1.0-SNAPSHOT \ lib \ *; " Play.core.server.NettyServer  

I have deployed the other x64 system in the first x64 and ; was not necessary.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Algorithm negotiation fail SSH in Jenkins -

java - Messages from .properties file do not display UTF-8 characters -