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.
In netbeans 6.7 Only way to run class with main in maven project is via exec-maven-plugin (eclipse can run any class with main, using maven calculated classpath) Maven is executed via cmd.exe /X /C ... and it fail with "Result of Result of cmd.exe /X /C "" execution is: '-1'. Because project has lots of dependencies, reason of exec fail is "The input line is too long." WinXP cmd problem. So it is impossible to run any bigger maven project inside Netbeans on WinXP. This is more problem of maven exec plugin then netbeans, so solution should be something similar to eclipse's.
duplicate of #153644 *** This issue has been marked as a duplicate of 153644 ***