Maven项目build时出现No compiler is provided in this environment的处理

在maven打包过程中出现:

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

原因在于IDE引入jdk有误造成此错误;

Maven项目build时出现No compiler is provided in this environment的处理_第1张图片

Maven项目build时出现No compiler is provided in this environment的处理_第2张图片

Maven项目build时出现No compiler is provided in this environment的处理_第3张图片

Maven项目build时出现No compiler is provided in this environment的处理_第4张图片

Maven项目build时出现No compiler is provided in this environment的处理_第5张图片

修改完配置在打包就OK了。

详细:https://blog.csdn.net/lslk9898/article/details/73836745

 

 

 

你可能感兴趣的:(其他)