maven2的Eclipse插件网址

来源:互联网 发布:数据库系统管理 编辑:程序博客网 时间:2024/04/29 06:45

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!


原创粉丝点击