No compiler is provided in this environment. --Maven build失败

今天,maven build 失败了, 遇到下面的问题

No compiler is provided in this environment. --Maven build失败

经过查找,通过这个大佬的blog(  https://blog.csdn.net/lslk9898/article/details/73836745  ),

我打开 windows -->  preference -->  Java ---> Installed JRES 。 发现下面的勾勾在 jre 7 上面。

No compiler is provided in this environment. --Maven build失败

这时候把勾勾点击到 jdk 1.7 上面, 然后点apply, 点OK

No compiler is provided in this environment. --Maven build失败

再运行maven build, 就成功了。


参考: https://blog.csdn.net/lslk9898/article/details/73836745

作者:Code_buger

上一篇:GitHub windows客户端拉代码和提交代码


下一篇:提高万恶的KPI,切忌要避开这六个低效的编程习惯