0

Cannot add to Eclipse the ZK SPreadsheet jars

asked 2009-05-07 13:39:22 +0800

airstrike gravatar image airstrike
42

Hello,
I'm trying to add the new released ZK Spreadsheet jars to my Eclipse project but i get an error when I add the zss.jar file. What I do is the following: project properties->Java EE Module Dependencies->Add external jars.
The strange thing is that everything is OK with the older version of the ZK Spreadsheet jars.
Can anyone please help me?

The error on the Console is the following:

7-mag-2009 15.22.37 org.apache.catalina.core.ApplicationContext log
GRAVE: StandardWrapper.Throwable
org.zkoss.zk.ui.UiException: java.util.zip.ZipException: incomplete dynamic bit lengths tree
at org.zkoss.zk.ui.metainfo.LanguageDefinition.init(LanguageDefinition.java:267)
at org.zkoss.zk.ui.metainfo.LanguageDefinition.getAll(LanguageDefinition.java:244)
at org.zkoss.zk.ui.http.WebManager.<init>(WebManager.java:178)
at org.zkoss.zk.ui.http.DHtmlLayoutServlet.init(DHtmlLayoutServlet.java:134)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3099)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:404)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.zip.ZipException: incomplete dynamic bit lengths tree
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.zkoss.idom.input.SAXBuilder.build(SAXBuilder.java:329)
at org.zkoss.util.resource.ClassLocator$XMLResource.<init>(ClassLocator.java:155)
at org.zkoss.util.resource.ClassLocator$XMLResource.<init>(ClassLocator.java:146)
at org.zkoss.util.resource.ClassLocator.getDependentXMLResources(ClassLocator.java:104)
at org.zkoss.zk.ui.metainfo.DefinitionLoaders.load0(DefinitionLoaders.java:156)
at org.zkoss.zk.ui.metainfo.DefinitionLoaders.load(DefinitionLoaders.java:123)
at org.zkoss.zk.ui.metainfo.LanguageDefinition.init(LanguageDefinition.java:265)
... 15 more
7-mag-2009 15.22.37 org.apache.catalina.core.StandardContext loadOnStartup
GRAVE: Servlet /prova threw load() exception
java.util.zip.ZipException: incomplete dynamic bit lengths tree
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.zkoss.idom.input.SAXBuilder.build(SAXBuilder.java:329)
at org.zkoss.util.resource.ClassLocator$XMLResource.<init>(ClassLocator.java:155)
at org.zkoss.util.resource.ClassLocator$XMLResource.<init>(ClassLocator.java:146)
at org.zkoss.util.resource.ClassLocator.getDependentXMLResources(ClassLocator.java:104)
at org.zkoss.zk.ui.metainfo.DefinitionLoaders.load0(DefinitionLoaders.java:156)
at org.zkoss.zk.ui.metainfo.DefinitionLoaders.load(DefinitionLoaders.java:123)
at org.zkoss.zk.ui.metainfo.LanguageDefinition.init(LanguageDefinition.java:265)
at org.zkoss.zk.ui.metainfo.LanguageDefinition.getAll(LanguageDefinition.java:244)
at org.zkoss.zk.ui.http.WebManager.<init>(WebManager.java:178)
at org.zkoss.zk.ui.http.DHtmlLayoutServlet.init(DHtmlLayoutServlet.java:134)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3099)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:404)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Unknown Source)

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2009-05-11 16:14:08 +0800

airstrike gravatar image airstrike
42

Finally I decided to bypass the problem and I started a brand new Eclipse project and copied all the files from the old one. This way when I add the new released spreadsheet jars, I don't have no more that f...ing error "incomplete dynamic bit lengths tree" !
I hope this could help someone else.

link publish delete flag offensive edit

answered 2009-05-11 15:20:01 +0800

airstrike gravatar image airstrike
42

Hi Peter and thank you for your answer.
I had the same intuition and I already tried to download the jars again, but nothing changed. And in fact if I open tha jar with WinRAR I can extract all the contents without errors.
Did you try to add the spreadsheet jars on your Eclipse? Was it successfull?

link publish delete flag offensive edit

answered 2009-05-11 10:02:33 +0800

PeterKuo gravatar image PeterKuo
481 2

org.zkoss.zk.ui.UiException: java.util.zip.ZipException: incomplete dynamic bit lengths tree
seems like an error happened while unzip the jar.
Maybe the file is corrupted.
You may try to download the jar file again.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-05-07 13:39:22 +0800

Seen: 229 times

Last updated: May 11 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More