File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Java 8 in Action this week in the Java 8 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
 
Similar Threads
Deployment Problems with EJB- RemoteException
tomcat - java.util.zip.ZipException error message
tomcat ZipException when starting up
ZipException when trying to run Saxon on UNIX
extract .rar file with java