Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.util.zip.ZipException: error in opening zip file

 
senthil kumar
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I build the ear file using ant 1.7v and deployed that in weblogic10. It ear is deployed successfully, but when I ran a application it gives me the below exception:
IOException processing module:ABCD
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:135)
at java.util.jar.JarFile.<init>(JarFile.java:99)

I have no clue how to fix this error, any help will be great!

Thanks
dk
 
John Mirren
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your .zip file is corrupted. The reason of corruption can be anything.

You should try tool lower

zip repair

program restores corrupted .zip archives by reason of crc errors, corrupted zip file from Internet, viruses and so on. Tool must help you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic