ERROR Source option 1.5 is no longer supported. Use 1.6 or later

后端 未结 10 1024
[愿得一人]
[愿得一人] 2020-12-24 04:32

It all happens when I was trying to build a springboot application by ./mvnw clean install

When I first run the install command, it runs into followin

10条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-24 05:07

    For me the solution was to set the version of the maven compiler plugin to 3.8.0 and specify the release (9 for in your case, 11 in mine)

        
          maven-compiler-plugin
          3.8.0
          
            11
          
        
    

提交回复
热议问题