最近在项目打包时提示错误No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?,项目打包不了。百度了一下原来是Window-->preferences-->Java-->Installed JREs,下面jre路径配置有问题,报错时配置的路是C:\Program Files\Java\jre1.8.0_45 ,正确配置应该是C:\Program Files\Java\jdk1.8.0_45\jre如下图:
maven打包时提示No compiler is provided in this environment. Perhaps you are running on a JRE rather than
最新推荐文章于 2024-05-21 17:50:14 发布