I would 'rm -rf ~/.m2/repository/*'
Much faster than investigating :)

from mobile (sorry for typos ;)


On Tue, Aug 17, 2021, 18:16 <michael.mo...@sunrise.ch.invalid> wrote:

> When trying to start Tomcat (9.0.52) in debug mode ("Debug on Server") from
> Eclipse (v2020-12 (4.18.0) / Build id: 20201210-1552) I get the following
> error:
>
> 16-Aug-2021 13:52:14.019 SEVERE [main]
> org.apache.catalina.core.ContainerBase.startInternal A child container
> failed during start
>
>     java.util.concurrent.ExecutionException:
> org.apache.catalina.LifecycleException: Failed to initialize component
> [org.apache.catalina.webresources.JarResourceSet@61322f9d]
>
>         at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>
>         ...
>
>     Caused by: org.apache.catalina.LifecycleException: Failed to initialize
> component [org.apache.catalina.webresources.JarResourceSet@61322f9d]
>
>         at
>
> org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase
> .java:440)
>
>         ...
>
>     Caused by: java.lang.IllegalArgumentException:
> java.util.zip.ZipException: invalid LOC header (bad signature)
>
>         at
>
> org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initIntern
> al(AbstractSingleArchiveResourceSet.java:143)
>
>         at
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
>
>         ... 33 more
>
>     Caused by: java.util.zip.ZipException: invalid LOC header (bad
> signature)
>
>         at java.util.zip.ZipFile.read(Native Method)
>
>         ...
>
>     Caused by: java.lang.IllegalArgumentException:
> java.util.zip.ZipException: invalid LOC header (bad signature)
>
>         at
>
> org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initIntern
> al(AbstractSingleArchiveResourceSet.java:143)
>
>         at
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
>
>         ... 33 more
>
>     Caused by: java.util.zip.ZipException: invalid LOC header (bad
> signature)
>
>
>
>
>
> Any idea how to identify what .jar file is causing this and/or how to
> possibly work around this?
>
>
>
> I added more details on StackOverflow
>
> https://stackoverflow.com/questions/68803170/tomcat-crashes-with-java-util-z
> ip-zipexception-invalid-loc-header-bad-signatu
> <https://stackoverflow.com/questions/68803170/tomcat-crashes-with-java-util-zip-zipexception-invalid-loc-header-bad-signatu>,
> so I don't want to spam the
> mailing list with them here.
>
>
>
> Regards,
>
> Michael
>
>
>
>

Reply via email to