解决:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile

在项目构建的时候遇到了这样的问题:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile(default-compile) on project taotao-manager-pojo: Compilation failure

检查了一下Installed JREs的设置,使用的环境变量为jre

解决方法:

将Installed JREs的设置修改为jdk即可.这里选择的其实是JAVA_HOME路径,jdk中包含jre

原文地址:https://www.cnblogs.com/xym4869/p/8818798.html