##Maven install失败
##Failed to execute goal org.apache.maven.plugins:maven-compiler-##plugin:3.1:compile (default-compile) on project autotest_fchtgl: Compilation failure
##[ERROR] No compiler is provided in this environment. Perhaps you are running ##on a JRE rather than a JDK?
##[ERROR] -> [Help 1]
###我的情况是我的电脑配了两个eclipse,但是只有一个jdk,所以,我将自己的jre
###复制到了我的eclipse中
#解决方法
#去------》Windows——》Preferences——》Java——》Installed JREs
然后
然后
然后,找的你自己的jdk安装位置
然后
最后,重新maven clean 然后 maven install ,就可以了
我的错误是这样解决的,