今天,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

 

相关文章: