cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Senhaji" <osenh...@wanadoo.fr>
Subject svg2jpeg serialiser error
Date Thu, 31 Oct 2002 21:05:10 GMT
Hi,

I'm playing with Cocoon since one week. I try to run the "Gallery" sample
shipped with the "Building XML Applications" book with no success.

The System: Tomcat-4.0.3, Win2k, Cocoon 2.0.3, JDK1.4.0

When I try to transform the svg.xml document to jpeg image using the
"svg2jpeg" serialiser the following error is thrown:

java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
        at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java:1631)
        at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java:926)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1360)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1243)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
        at
org.apache.batik.dom.svg.SVGDOMImplementation.createDocument(Unknown
Source)
        at
org.apache.cocoon.xml.dom.SVGBuilder.startDocument(SVGBuilder.java:11
8)
        at
org.apache.xalan.transformer.ResultTreeHandler.flushDocEvent(ResultTr
eeHandler.java:824)
        at
org.apache.xalan.transformer.ResultTreeHandler.flushPending(ResultTre
eHandler.java:932)
        at
org.apache.xalan.transformer.ResultTreeHandler.startElement(ResultTre
eHandler.java:241)
        at
org.apache.xalan.transformer.ClonerToResultTree.cloneToResultTree(Clo
nerToResultTree.java:229)
        at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:152)
        at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(
ElemApplyTemplates.java:422)
        at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTempla
tes.java:226)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2243)
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Tran
sformerImpl.java:2069)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(Transforme
rImpl.java:1171)
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java
:3196)
        at java.lang.Thread.run(Thread.java:536)


any help?

Thanks!


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message