Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile)

前端 未结 23 2339
小蘑菇
小蘑菇 2020-11-29 15:55

I am using Maven 3.0.5 and Spring Tool Source 3.2 with Maven plugin installed. When I try to do \'Run As---> Maven install\', I am getting

23条回答
  •  自闭症患者
    2020-11-29 16:34

    I had the same problem, check the installed jre used by Maven in your Run Configuration...

    In your case, I think that the maven-compiler-plugin:jar:2.3.2 needs a jdk1.6

    To do this : Run Configuration > YOUR_MAVEN_BUILD > JRE > Alternate JRE

    Hope this helps.

提交回复
热议问题