eclipse 项目用maven clean、install时报错
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:co
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
解决方法:
1. window -> preferences -> java -> jnstalled jres 选择对应的jdk
2. 右击项目 -> build path - > configure build path -> 双击JRE SystemLibrary 选择对应的jdk版本
此时再继续你的maven操作,就可以了