jetty invalid entry CRC问题

1: http://stackoverflow.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包邮冲突

 

 

 

你可能感兴趣的:(Invalid)