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

后端 未结 10 965
[愿得一人]
[愿得一人] 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

    There can be corrupted jar file for which it may show error as "ZipFile invalid LOC header (bad signature)" You need to delete all jar files for which it shows the error and add this Dependency

     
        javax.servlet
        servlet-api
        3.0-alpha-1
        provided
    
    

提交回复
热议问题