java.util.zip.ZipException: invalid LOC header (bad signature)

coderanch.com | 3 months ago
  1. 0

    tomcat server fails to start the server and application in STS

    Stack Overflow | 4 years ago | Java Questions
    java.util.zip.ZipException: invalid LOC header (bad signature)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    some error while running spring mvc maven project

    Stack Overflow | 1 year ago | Priyanka Shaju
    java.util.zip.ZipException: invalid LOC header (bad signature)
  4. 0

    JSTL library error

    Stack Overflow | 2 months ago | Keith Yung
    java.util.zip.ZipException: invalid LOC header (bad signature)

  1. esaar 11 times, last 4 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.zip.ZipException

    invalid LOC header (bad signature)

    at java.util.zip.ZipFile.read()
  2. Java RT
    DataInputStream.readInt
    1. java.util.zip.ZipFile.read(Native Method)
    2. java.util.zip.ZipFile.access$1400(ZipFile.java:56)
    3. java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:679)
    4. java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:415)
    5. java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
    6. java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
    7. java.io.BufferedInputStream.read(BufferedInputStream.java:254)
    8. java.io.DataInputStream.readInt(DataInputStream.java:387)
    8 frames
  3. org.apache.tomcat
    ClassParser.parse
    1. org.apache.tomcat.util.bcel.classfile.ClassParser.readID(ClassParser.java:237)
    2. org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:114)
    2 frames
  4. Glassfish Core
    ContainerBase$StartChild.call
    1. org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2118)
    2. org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1994)
    3. org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1960)
    4. org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1945)
    5. org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1319)
    6. org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
    7. org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:376)
    8. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    9. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    10. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)
    11. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    12. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
    13. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
    13 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    5. java.lang.Thread.run(Thread.java:724)
    5 frames