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

 

posted @ 2021-09-03 14:29  不是安逸  阅读(622)  评论(1编辑  收藏  举报