idea maven 打包错误 [ERROR] javac options source files

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project rcs-maapapi: Compilation failure
[ERROR] javac: ????????: XXX.java
[ERROR] ?÷?: javac <options> <source files>

解决方法:file->Settings->Build,Execution,Deployment->Build Tools->Maven->Runer

在VM Options  加上 -DarchetypeCatalog=internal -Dfile.encoding=GBK

idea maven 打包错误 [ERROR] javac options source files

 

idea maven 打包错误 [ERROR] javac options source files

上一篇:Android状态栏


下一篇:JAVA概述、开发环境配置