Maven进价:Maven构建错误汇总
问题:The method of type must override asuperclass? annotation:@Override的原因
-
办法:项目右键->build path->configure build path->java Compiler(左边那排中) ->在右边的Compiler compliance level 修改版本为 6.0
END
问题:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
-
办法:Installed JREs 使用本机的JDK
END
问题:No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
-
办法:
1、确认本机安装了JDK。
2、由于Eclipse使用的是JRE导致,添加JDK即可。
END
问题:maven Error configuring application listener of class org.springframework.web.util
-
1、Clean 项目
2、Clean Server
3、项目的Deployment Assembly 中 添加Maven Dependencies
END