Maven打包报错 No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

Eclipse中设置Installed JREs路径为jdk_xxx/jre目录, 如下图所示:
jre

原文地址:https://www.cnblogs.com/open-coder/p/14440676.html