Make sure you're using the Batik version that comes with FOP 0.20.5. Newer versions of Batik have a backwards-incompatible change in the API. The alternative is to use the maintenance branch [1] where the necessary adjustments have been made.
[1] http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain/ On 07.12.2005 11:27:04 Peter B. West wrote: > I'm trying to output an SVG image as an fo:external-graphic. I'm > getting the following: > > Exception in thread "main" java.lang.NoSuchMethodError: > org.apache.batik.bridge. > UnitProcessor.createContext(Lorg/apache/batik/bridge/BridgeContext;Lorg/w3c/dom/ > Element;)Lorg/apache/batik/util/UnitProcessor$Context; > at > org.apache.fop.image.analyser.SVGReader.loadImage(SVGReader.java:107) > > at > org.apache.fop.image.analyser.SVGReader.verifySignature(SVGReader.jav > a:85) > at > org.apache.fop.image.analyser.ImageReaderFactory.Make(ImageReaderFact > ory.java:129) > at > org.apache.fop.image.FopImageFactory.Make(FopImageFactory.java:181) > at > org.apache.fop.fo.flow.ExternalGraphic.layout(ExternalGraphic.java:18 > 8) > > Is this a classpath problem, is it not finding the image, or is it > something else? Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
