[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project jeesite-module-cms: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
解决:
一:首先看JDK是否正常:
1.项目右击--->properties
windows--->Preference
二:如果都正常:项目右击--->properties--->Project Factes找到右边的Runtimes
勾选Apache Tomcat V8.5,如果没有这个Tomcat,就点击下面的New ,添加一个对应版本的Tomcat就可以了
然后就可以重新Maven install了