Re: Noob having problems with tool (getting java.util.zip.ZipExcepiton)

Konstantin Priblouda <[email protected]>
Newsgroups gmane.comp.java.xdoclet.user
Message-ID <[email protected]>

--- Douglas WF Acheson <[email protected]> wrote:

> Hello,
> 
>   I am very new to using Xdoclet, I was introduced
> to it on my last project and thought I would learn a
> bit more.  Here is the scenario:  I have created a
> SSB, the three parts (home, impl, and interface),
> and want to generate a DD (ejb-jar.xml) from my
> marked up java code.  The error I am getting is:
> 
> ... <snip snip> ...
> [ejbdoclet] java.util.zip.ZipException: error in
> opening zip file
> [ejbdoclet] at java.util.zip.ZipFile.open(Native
> Method)
> [ejbdoclet] at
> java.util.zip.ZipFile.<init>(ZipFile.java:203)
> [ejbdoclet] at
> java.util.zip.ZipFile.<init>(ZipFile.java:234)
> [ejbdoclet] at
>
org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
> [ejbdoclet] at
>
org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
> [ejbdoclet] at
>
org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
> [ejbdoclet] at
>
org.apache.log4j.LogManager.<clinit>(LogManager.java:94)
> [ejbdoclet] at
>
org.apache.log4j.Category.getInstance(Category.java:514)
> [ejbdoclet] at
>
org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4jFactory.java:153)
> [ejbdoclet] at
>
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:285)
> [ejbdoclet] at
>
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
> [ejbdoclet] at
> xdoclet.util.LogUtil.getLog(LogUtil.java:26)
> [ejbdoclet] at
>
xdoclet.loader.ModuleFinder.findModules(ModuleFinder.java:116)
> [ejbdoclet] at
>
xdoclet.DocletTask.registerModules(DocletTask.java:545)
> [ejbdoclet] at
>
xdoclet.DocletTask.createDynamicElement(DocletTask.java:336)
> ... <snip snip> ...


Maybe you got bogus jar? 

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.