Java.util.zip.zipexception Error In Opening Zip File Rar
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring
Java.util.zip.zipexception: Error In Opening Zip File Jboss
developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask java.util.zip.zipexception error in opening zip file linux Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join
Java.util.zip.zipexception Error In Opening Zip File Eclipse
them; it only takes a minute: Sign up java.util.zip.ZipException: error in opening zip file up vote 36 down vote favorite 6 I have a Jar file, which contains other nested Jars. When I invoke the new JarFile() constructor on java.util.zip.zipexception error in opening zip file weblogic this file, I get an exception which says: java.util.zip.ZipException: error in opening zip file When I manually unzip the contents of this Jar file and zip it up again, it works fine. Also, please note that this exception is seen only on WebSphere 6.1.0.7 and higher versions. The same thing works fine on tomcat and WebLogic. Also, when I use JarInputStream instead of JarFile, I am able to read the contents of the Jar file without any exceptions. Please java.util.zip.zipexception: error in opening zip file at java.util.zip.zipfile.open(native method) let me know if you have any ideas on how this can be fixed. Thanks, Sandhya java share|improve this question edited Aug 23 at 21:02 Petro 1,2591623 asked Nov 28 '08 at 7:12 user41536 234156 2 Thanks for the hint about rezipping the file -- that fixed for me. –Bryan Larsen May 4 '10 at 22:24 I've had this problem on Mac when Windows and Linux worked just fine. Using JarInputStream fixed the problem for me. –Boris van Schooten Dec 20 '11 at 9:47 I have faced the same problem on Tomcat Start UP [catalina.properties]: org.apache.catalina.startup.TldConfig tldScanJar WARNING: Failed to process JAR [jar:../opensaml.jar!/] for TLD files ZipException to resolve this problem add opensaml.~.jar into Application lib folder. –Yash Apr 11 at 12:19 add a comment| 8 Answers 8 active oldest votes up vote 11 down vote Make sure your jar file is not corrupted. If it's corrupted or not able to unzip, this error will occur. share|improve this answer edited Jul 28 at 18:56 FrankerZ 5,03841447 answered Sep 27 '10 at 7:14 arulraj.net 1,26711628 +1 More often than not this is the reason. –JamesC Oct 30 '12 at 9:09 in my case, i had also corrupted file –To Kra Aug 14 '15 at 12:01 add a comment| up vote 10 down vote It could be related to log4j. Do you have log4j.jar file in the webs
here for java.util.zip.zipexception error in opening zip file jar a quick overview of the site Help Center Detailed answers
Java.util.zip.zipexception: Error In Opening Zip File Android
to any questions you might have Meta Discuss the workings and policies of this site About http://stackoverflow.com/questions/325202/java-util-zip-zipexception-error-in-opening-zip-file Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the http://stackoverflow.com/questions/3683142/java-util-zip-zipexception-error-in-opening-zip-file Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up java.util.zip.ZipException: error in opening zip file up vote 0 down vote favorite i am geting this strange exception below: INFO: Deploying web application archive ZangV3Spring.war 10-Sep-2010 08:46:38 org.apache.catalina.startup.ContextConfig init SEVERE: Exception fixing docBase for context [/ZangV3Spring] java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group Style based on Andreas08 by Andreas Viklund Style by Elizabeth Shulman