[Solved] IDEA Maven Package Error: [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>
Solution:
file->Settings->Build,Execution,Deployment->Build Tools->Maven->Runer
Add -DarchetypeCatalog=internal -Dfile.encoding=GBK in VM Options

Similar Posts: