致命错误编译:尝试执行外部编译器时出现未知错误:mvn clean install

时间:2016-07-26 09:58:41

标签: java maven

在mvn clean install之后,出现以下错误导致构建失败。我在环境变量中添加了jdk路径,但我没有找到任何解决方案。

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project project-xmlbeans-eai: Fatal error compiling: Unknown error trying to execute the external compiler:
[ERROR] cmd.exe /X /C ""<C:\Program Files (x86)\Java\jdk1.8.0_91\jre\..\bin\javac.exe>" @C:/Users/username/AppData/Local/Temp/org.codehaus.plexus.compiler.javac.JavacCompiler2487639668896206188arguments -J-Xmx2024m -J-Xms1024m"
[ERROR] -> [Help 1] 

0 个答案:

没有答案