maven项目运行install是出错:
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile)。。。。。。。。。。No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK。
在window---prefenences----java---installed jre中发现,jre引用的是c:/xxx/xxx不是我安装jdk中的jre,改变jre的目录为安装jdk目录中的jre目录就行了。