maven install 报错 No compiler is provided in this environment. Perhaps you are running on a JRE rathe

报错截图:

修改方法:

window > preferences > java >  installed JREs > add > 添加如下图

添加完成够设置成默认项,保存并关闭。

然后右键项目 maven > update project

成功解决!

猜你喜欢

转载自blog.csdn.net/LuckyLoading/article/details/82979906