This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes java.util.zip.ZipException: error in opening zip file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "java.util.zip.ZipException: error in opening zip file" Watch "java.util.zip.ZipException: error in opening zip file" New topic
Author

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

senthil kumar
Greenhorn

Joined: Mar 19, 2008
Posts: 15
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

Joined: Apr 26, 2012
Posts: 1
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.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: java.util.zip.ZipException: error in opening zip file
 
jQuery in Action, 3rd edition