Make sure you use the batik.jar that comes with FOP and not the latest
release of Batik.

-----Original Message-----
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: Friday, February 08, 2002 12:01 PM
To: [EMAIL PROTECTED]
Subject: Re: ClassDefNotFoundError


> When I try to transfrom a fo file to a pdf  file, I get the following
> error:
> 
> Exception in thread "main"  java.lang.NoClassDefFoundError:
> org/apache/batik/dom/svg/SVGContext
>          at
>
org.apache.fop.svg.SVGElementMapping.addToBuilder(SVGElementMapping.java:21)
>          at  org.apache.fop.apps.Driver.addElementMapping(Driver.java:373)
>          at  org.apache.fop.apps.Driver.addElementMapping(Driver.java:384)
>          at
> org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java:253)
>          at  org.apache.fop.apps.Driver.<init>(Driver.java:189)
>          at
> org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:55)
>          at org.apache.fop.apps.Fop.main(Fop.java:19)
> 
> I checked all the jar files included in the  release and they're all in
> their proper directories.
> 
> Can anybody help?

But obviously there is a problem with batik.jar. Check your classpath
again. Good luck.

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 41 317 20 20 - Fax +41 41 317 20 29
Internet http://www.outline.ch

Reply via email to