我最近遇到了一个问题,我无法在Netbeans中构建任何Apache Maven项目。即使像Printing Hello World这样的简单项目也行不通。我尝试清除缓存,重新安装Java,重新安装JDK,重新安装Netbeans,以及重新安装Apache Maven。所有这一切都行不通。我能够通过命令行构建和运行maven项目,但不能在Netbeans中构建和运行。我也能够在Netbeans中运行Ant构建。有没有人知道为什么会发生这种情况以及如何解决它?
我在Windows 7 Service Pack 1 64位上使用Netbeans 8.2,Java 8 Update 121,JDK 8 Update 121和APache Maven 3.3.9
让我知道是否还有其他任何我可以详细说明以帮助解决此问题
BUILD FAILURE
------------------------------------------------------------------------
Total time: 5.383 s
Finished at: 2017-02-07T10:16:31-05:00
Final Memory: 7M/184M
------------------------------------------------------------------------
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project: Command execution failed. Process exited with an error: -1073740791 (Exit value: -1073740791) -> [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: