Hi, I have not done what you are trying to do but I have used java enough to spot a class load precedence error when it comes.
I think That the org.w3c.dom.svg.SVGPaint is needed by some other class that has been loaded from a specific level wich is not the batik.jar. I have had the same problem when using a updated xerces version inside a Websphere application Server : There was an older version of xerces loaded by WAS. The error was the same : NoDefClassFound anytime there was a need for a new class. I think it has to do with the classpath setting in Tomcat or your Java environnement. I hope this helps. At 10:13 26/03/2002 -0500, you wrote: >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(WebappClassLo >ader.java:1631) at >org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav >a:926) at >org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.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? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]