This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: java.util.zip.ZipException: error in opening zip file