This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 7.4 Beta (Build 201307092200) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_25 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Error: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project mavenproject1: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging. For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Created attachment 137961 [details] IDE log
please do what the build output says. Run with debug output enabled (and attach to the issue). Also interesting is the initial output printed by netbeans that shows what's being put on the cmd line. And possibly the content of nbactions.xml file. closing as incomplete, please reopen with additional information
Created attachment 138955 [details] Debug Output With -X maven Option Milos Kleint: Run with debug output enabled (and attach to the issue)
Created attachment 138956 [details] nbactions.xml file
attached the requested documents
-jar -classpath %classpath com.ingweb.mavenproject1.MainApp -jar ${basedir}/target/mavenproject1-1.0-SNAPSHOT.jar from nbactions.xml file is the root of the problem. One cannot have both -jar <jar> and -classpath <cp> <mainClass> at the same time. How did you reach such state?
i'm just create a new project and the project runs ok, but when i open the project properties/run and set the Main Class, then the project doesn't run.
which archetype/project template have you used to create the project?
i'm just got to "file>new project>maven>JavaFx Application>Next>Finish" the i go to "project properties>run" and set the main class then i run and netbeans throws me the error.
In project properties Run panel however the -jar <name>.jar part of the execution is clearly visible. When I manually remove it, it will write a correct -classpath <cp> <mainClass> sequence. Not that it would correctly run afterwards because javafx needs to run from the jar file. I suppose it's partly user error. All we can do is to recognise the state somehow and prevent the Run panel from showing altogether in this case I guess.
http://hg.netbeans.org/core-main/rev/cb6ea97f1c63 disables the run panel fields when the action mappings are modified in a way that is not supported.
I run into the same problem, but I don't see the nbactions.xml file. Is this somewhere else for the latest netbeans?
my project was created as maven project
> my project was created as maven project see the project files node in projects view or bellow the project root in the files view