http://m2eclipse.sonatype.org/sites/m2e/
错误处理:
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project server: Compilation failure
修改一下编辑器编码格式;
When you created your Maven project with Eclipse, maybe the text file encoding of your project's properties and the project.build.sourceEncoding
in
your pom.xml
were
not the same. If that's the case, then when you built the project, you'd get the error
"Unable to locate the Javac Compiler in:..."
For example, my text file encoding was GBK, and my project.build.sourceEncoding
was
UTF-8. I just modified my text file encoding to UTF-8, and everything was OK!