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

前端 未结 23 2414
小蘑菇
小蘑菇 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:36

    Sometimes this issue comes because the java.version which you have mentioned in POM.xml is not the one installed in your machine.

    
        1.7
    
    

    Ensure you exactly mention the same version in your pom.xml as the jdk and jre version present in your machine.

提交回复
热议问题