Maybe it helps if you copy  "batik.jar" to "tomcat/common/lib" and restart

Peter Jacobs


>
> Ok, I have been messing with this problem for a day or so now and
> can't find
> a reasonable solution.
>
> I am using Tomcat 4.0.3 and FOP 0.20.3.  I have deployed the servlet into
> the container and copied the fop.jar along with the other jars in the FOP
> library directory to the servlets WEB-INF/lib directory.
>
> I can producer documents containing plaintext with no problems.
>
> However, when I try to render the embedding.fo SVG example  I get the
> following exception:
>
> java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGPaint at
> java.lang.ClassLoader.defineClass0(Native Method) at
> java.lang.ClassLoader.defineClass(ClassLoader.java:509) at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at
> org.apache.catalina.loader.WebappClassLoader.findClassInternal(Web
> appClassLo
> ader.java:1631) at
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClass
> Loader.jav
> a:926) at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClass
> Loader.jav
> a:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass
> .....
>
> The class org.w3c.dom.svg.SVGPaint is located in batik.jar with
> the rest of
> the jars.
> Anyone have any clue what I am doing wrong?
>


Reply via email to