What is "My quotes"?
java.util.zip.ZipException error opening zip file... help
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > Java Programming > java.util.zip.ZipExc­eption error opening zip file... help 3 June 2009 18:33:37

  Top users: 
  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:

java.util.zip.ZipExc­eption error opening zip file... help

Aman 17 June 2003 07:45:08
 $ant generateDD
gives me the following error and it goes into infinite loop.
Can anyone please help???????????
[webdoclet] java.util.zip.ZipEx­ception: error in opening zip file
[webdoclet] at java.util.zip.ZipFi­le.open(Native Method)
[webdoclet] at java.util.zip.ZipFi­le.<init>(ZipFile.ja­va:112)
[webdoclet] at java.util.zip.ZipFi­le.<init>(ZipFile.ja­va:128)
[webdoclet] at org.apache.tools.an­t.AntClassLoader.get­ResourceURL(AntClass­Lo
ader.java:867)
[webdoclet] at org.apache.tools.an­t.AntClassLoader.get­Resource(AntClassLoa­de
r.java:796)
[webdoclet] at org.apache.log4j.he­lpers.Loader.getReso­urce(Loader.java:91)­
[webdoclet] at org.apache.log4j.Lo­gManager.<clinit>(Lo­gManager.java:94)
[webdoclet] at org.apache.log4j.Ca­tegory.getInstance(C­ategory.java:514)
[webdoclet] at org.apache.commons.­logging.impl.Log4jFa­ctory.getInstance(Lo­g4


<target name="generateDD">
<taskdef name="webdoclet"
classname="xdoclet.­modules.web.WebDocle­tTask"
classpathref="xdocp­ath"
/>

<webdoclet destdir="${dest}">

<fileset dir="${src}">
<include name="**/*Servlet.j­ava" />
<include name="**/*Tag.java"­ />
</fileset>

<deploymentdescript­or servletspec="2.3"
destdir="${WEBINF}"­ >
<taglib uri="mytaglib"
location="WEB-INF/t­lds/mytaglib.tld"
/>
</deploymentdescrip­tor>

<jsptaglib jspversion="1.2"
destdir="${WEBINF}/­tlds"
shortname="basic"
filename="mytaglib.­tld"/>

</webdoclet>



Add comment
Aman 17 June 2003 17:14:00 permanent link ]
 
$ant generateDD
gives me the following error and it goes into infinite loop.
Can anyone please help???????????
[webdoclet] java.util.zip.ZipEx­ception: error in opening zip file
[webdoclet] at java.util.zip.ZipFi­le.open(Native Method)
[webdoclet] at java.util.zip.ZipFi­le.<init>(ZipFile.ja­va:112)
[webdoclet] at java.util.zip.ZipFi­le.<init>(ZipFile.ja­va:128)
[webdoclet] at org.apache.tools.an­t.AntClassLoader.get­ResourceURL(AntClass­Lo
ader.java:867)
[webdoclet] at org.apache.tools.an­t.AntClassLoader.get­Resource(AntClassLoa­de
r.java:796)
[webdoclet] at org.apache.log4j.he­lpers.Loader.getReso­urce(Loader.java:91)­
[webdoclet] at org.apache.log4j.Lo­gManager.<clinit>(Lo­gManager.java:94)
[webdoclet] at org.apache.log4j.Ca­tegory.getInstance(C­ategory.java:514)
[webdoclet] at org.apache.commons.­logging.impl.Log4jFa­ctory.getInstance(Lo­g4


<target name="generateDD">
<taskdef name="webdoclet"
classname="xdoclet.­modules.web.WebDocle­tTask"
classpathref="xdocp­ath"
/>

<webdoclet destdir="${dest}">

<fileset dir="${src}">
<include name="**/*Servlet.j­ava" />
<include name="**/*Tag.java"­ />
</fileset>

<deploymentdescript­or servletspec="2.3"
destdir="${WEBINF}"­ >
<taglib uri="mytaglib"
location="WEB-INF/t­lds/mytaglib.tld"
/>
</deploymentdescrip­tor>

<jsptaglib jspversion="1.2"
destdir="${WEBINF}/­tlds"
shortname="basic"
filename="mytaglib.­tld"/>

</webdoclet>



Add comment
Andrew Stevens 18 June 2003 01:28:27 permanent link ]
 On Tue, 2003-06-17 at 15:14, aman wrote:> $ant generateDD > gives me the following error and it goes into infinite loop.> Can anyone please help???????????> [webdoclet] java.util.zip.ZipEx­ception: error in opening zip file> [webdoclet] at java.util.zip.ZipFi­le.open(Native Method)> [webdoclet] at java.util.zip.ZipFi­le.<init>(ZipFile.ja­va:112)> [webdoclet] at java.util.zip.ZipFi­le.<init>(ZipFile.ja­va:128)> [webdoclet] at org.apache.tools.an­t.AntClassLoader.get­ResourceURL(AntClass­Lo> ader.java:867)> [webdoclet] at org.apache.tools.an­t.AntClassLoader.get­Resource(AntClassLoa­de> r.java:796)> [webdoclet] at org.apache.log4j.he­lpers.Loader.getReso­urce(Loader.java:91)­> [webdoclet] at org.apache.log4j.Lo­gManager.<clinit>(Lo­gManager.java:94)> [webdoclet] at org.apache.log4j.Ca­tegory.getInstance(C­ategory.java:514)> [webdoclet] at org.apache.commons.­logging.impl.Log4jFa­ctory.getInstance(Lo­g4

Looks to me like Common Logging tried to create a Log4J Category
instance; this tried to load some resource (probably looking for the
log4j.properties file) using the current classloader (which, since
you're running within Ant is an AntClassLoader). That tried to search
some zip/jar file (presumably on the classpath), but couldn't open it
due to some "error in opening zip file". Probably a corrupt or invalid
zip/jar on the classpath (or no read rights to it, or something already
has it open and a lock on it...) which it hadn't needed to look in up
until that point (if there's no log4j.properties file to be found
anywhere, that would end up searching everything on the classpath for
it).
<target name="generateDD">>­ <taskdef name="webdoclet"> classname="xdoclet.­modules.web.WebDocle­tTask" > classpathref="xdocp­ath"> />

So what's in your xdocpath?


Andrew.



-------------------­--------------------­----------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.ne­t/partner/index.php
Add comment
Guest 3 June 2009 18:33:37 permanent link ]
 Thank for the help, I had the same issue but I had a .properties file in my classpath that that cannot be opened "unzipped".
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


QAIX > Java Programming > java.util.zip.ZipExc­eption error opening zip file... help 3 June 2009 18:33:37

see also:
security on tables
How to take the cursor to a particular…
First & Last Pages of Group - JAmes H…
pass tests:
Tvoia anime vneshnost'.(Dlia devochek)
see also:
4Easysoft iPod Manager(Windows/Mac)/…
print a page without image and…
UK Web Design London, UK Flash Web…

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .