Intellij maven project Fatal error compiling: invalid flag: --release

后端 未结 4 1030
长情又很酷
长情又很酷 2020-12-16 09:20

I am trying to start with Spring-boot, Maven in Intellij Please help me I am getting the error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven         


        
4条回答
  •  离开以前
    2020-12-16 09:26

    In your pom.xml file, simply remove the tag 8 from your maven-compiler-plugin configuration:

    
        org.apache.maven.plugins
        maven-compiler-plugin
        3.7.0
        
            1.8
            1.8
            true
        
    
    

提交回复
热议问题