java.util.zip.ZipException: invalid entry CRC (expected 0x0 but got 0xc86c27fe) -


this question has answer here:

i extracting zip file through java code, giving below exception.## heading ##

java.util.zip.zipexception: invalid entry crc (expected 0x0 got 0xc86c27fe) @ java.util.zip.zipinputstream.read(zipinputstream.java:221) @ java.io.filterinputstream.read(filterinputstream.java:107) @ zipextraction.unzip.unzipit(unzip.java:60) @ zipextraction.unzip.main(unzip.java:20) 

can tell me reason, why getting error.

it means 1 of jar files bad (jar files zip files).

you can login via ssh go directory containing jars , run:

for in `ls *.jar`; unzip -qq -t $a &>/dev/null; if [ $? -ne 0 ]; echo "$a"; fi;

this test jars , print ones errors.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -