[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>
[ERROR] javac: �Ҳ����ļ�: XXX.java
[ERROR] �÷�: javac <options> <source files>
Solution:
file->Settings->Build,Execution,Deployment->Build Tools->Maven->Runer
Add
Add
-DarchetypeCatalog=internal -Dfile.encoding=GBK
in VM OptionsSimilar Posts:
- Maven: idea cannot download the source code Issue [How to Solve]
- Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1
- No archetype found in remote catalog. Defaulting to internal catalog
- [Solved] Maven Package Error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) Compilation failure javac: �Ҳ����ļ�:
- Error:java: javacTask: source release 8 requires target release 1.8
- AndroidStudio Error: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ‘:app:proces
- [Solved] IDEA Compile Error: java: Compilation failed: internal java compiler error
- [Solved] GeoTools GeoServer startup Error: java.lang.NoSuchMethodError: com.sun.tools.javac.util.JavacMessages.add
- Could not find tools.jar when build gradle project
- [Solved] Idea maven Pom Error: “Failed to read artifact descriptor”