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

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的问题了

如若转载,请注明出处:http://www.codingwhy.com/view/853.html

联系我们

在线咨询: 点击这里给我发消息

邮件:731000228@qq.com