Get the App
SLTechnology News&Howtos  ›  Development  › 

MAVEN prompts how to solve the invalid LOC header error

Shulou Source: shulou.com Published: 2022-06-02 06:42:10 10月01日 Update

This article mainly introduces "MAVEN prompts how to solve invalid LOC header errors". In daily operation, I believe many people have doubts about how to solve invalid LOC header errors prompted by MAVEN. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "MAVEN prompts how to solve invalid LOC header errors". Next, please follow the editor to study!

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

At java.util.zip.ZipFile.read (Native Method)

At java.util.zip.ZipFile.access$1400 (ZipFile.java:60)

At java.util.zip.ZipFile$ZipFileInputStream.read (ZipFile.java:717)

At java.util.zip.ZipFile$ZipFileInflaterInputStream.fill (ZipFile.java:419)

At java.util.zip.InflaterInputStream.read (InflaterInputStream.java:158)

At sun.misc.IOUtils.readFully (IOUtils.java:65)

At java.util.jar.JarFile.getBytes (JarFile.java:425)

At java.util.jar.JarFile.getManifestFromReference (JarFile.java:193)

At java.util.jar.JarFile.getManifest (JarFile.java:180)

At org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal (AbstractSingleArchiveResourceSet.java:111)

... 13 more

The solution is to delete the prompted file and let maven download it again.

At this point, the study of "MAVEN prompts how to solve invalid LOC header errors" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Tags: Tips mistakes learning more help practical next methods documents articles methods theory knowledge articles websites materials follow questions easy to use practice Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft MariaDB Xiaomi Shulou Tech Info OPPO Reno