欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

jetty invalid entry CRC问题 博客分类: java服务端  

程序员文章站 2024-03-25 22:37:40
...

1: http://*.com/questions/11993324/mvn-jettyrun-throwing-java-util-zip-zipexception-invalid-entry-size

 

4 down vote accepted

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

Ater 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.

 

 

把maven本地仓库的所有jar包删掉, 可能是一起的jetty版本和现在jetty或者什么jar包邮冲突