maven编译:No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK

 1669浏览

maven编译项目报如下错误

[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

根据报错不难发现,没有编译环境,或许你用的是jre而不是jdk,解决方法,参考本站的这篇文章:eclipse配置jdk,配置好jdk并选择该jdk一般就能解决No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK的问题了

流行热度:超过1669次围观
生产日期:2016-09-06 21:30:57
上次围观:2016-09-18 06:05:52
转载时必须以链接形式注明原始出处及本声明。