jetty ZipException: invalid entry size

The issue, as I suspected, was due a corrupt JAR file. The solution for me was to clear my local repository (deleteing the content of .m2/repository folder) and execute:

mvn clean install

After all dependencies are resolved, it ran like a charm.

You should also ensure that the application is in fact being compiled to the output folder (in my case a folder called war) before jetty is started.

原文地址:https://www.cnblogs.com/mignet/p/5273003.html