Start TOMCAT and report an error java.util.zip.ZipException: invalid LOC header (bad signature)

Start TOMCAT and report an error java.util.zip.ZipException: invalid LOC header (bad signature)

Because the configuration of spring-boot in Maven, this jar package, causes Tomcat to start an error, so the introduction of Spring-boot needs to be annotated.

 

 

    <!--<dependency>-->
      <!--<groupId>org.springframework.boot</groupId>-->
      <!--<artifactId>spring-boot-starter-web</artifactId>-->
      <!--<version>1.5.4.RELEASE</version>-->
      <!--<exclusions>-->
        <!--<exclusion>-->
          <!--<groupId>org.springframework.boot</groupId>-->
          <!--<artifactId>spring-boot-starter-logging</artifactId>-->
        <!--</exclusion>-->
      <!--</exclusions>-->
    <!--</dependency>-->

 

This way the error goes away.

 

 

 

 

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326608384&siteId=291194637