Running the sample application using “mvn exec:exec” doesn't work

后端 未结 1 1222
余生分开走
余生分开走 2021-01-25 17:36

I\'m following the Getting Started version 0.9. I can run the sample application with the full \"java -Duser.lan...\" command and the double-click on the foo.jar, but when I try

相关标签:
1条回答
  • 2021-01-25 18:08

    [DEBUG] Executing command line: [java, -Duser.language=en, -Duser.country=US, -Djavafx.verbose=true, -Dbinary.css=false, -Djava.util.logging.config.file=/Users/claudiorosati/Projects/NetBeans, Projects/drombler-test/drombler-test-application/target/deployment/standalone/conf/logging.properties, -jar, /Users/claudiorosati/Projects/NetBeans, Projects/drombler-test/drombler-test-application/target/deployment/standalone/bin/foo.jar, --userdir, /Users/claudiorosati/Projects/NetBeans, Projects/drombler-test/drombler-test-application/target/userdir] Error: Could not find or load main class Projects.drombler-test.drombler-test-application.target.deployment.standalone.conf.logging.properties [ERROR] Command execution failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)

    It looks like there is an issue with paths which have spaces.

    Please try the following:

    <commandlineArgs>${additionalExecArgs} -Duser.language=en -Duser.country=US -Djavafx.verbose=true -Dbinary.css=false -Djava.util.logging.config.file="${project.build.directory}/deployment/standalone/conf/logging.properties" -jar "${project.build.directory}/deployment/standalone/bin/foo.jar" --userdir "${project.build.directory}/userdir"</commandlineArgs>
    
    0 讨论(0)
提交回复
热议问题