maven install 报错Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project*****

[ERROR]Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project cmcciwms: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR] -> [Help 1]

 

解决方法:右击项目--properties --project facets-- : 提高项目的jdk版本

posted @ 2016-08-04 16:01  乌云de博客  阅读(8288)  评论(0编辑  收藏  举报