Hi Elena,
Most likely you have incompatible versions of batik and fop.
There have been a number of api changes between fop 0.20.1 and the current batik.
It should work fine if you use the batik that comes with fop.
I suggest you try using the latest fop, FOP 0.20.3rc2 and the batik that comes with it, version 1.1 (I think).
This should work fine.
On 2002.02.25 17:17 Elena wrote:
Hi, can someone help me with this?
I am trying to convert an SVG document to PDF. When I type java org.apache.batik.apps.rasterizer.Main -m application/pdf document.svg from the command prompt I am getting an error "NoSuchMethodFound: PDFTranscoder.transcode()". I downloaded the Fop-0.20.1 and build it. Then I added the newly created FOP.jar to my classpath. I looked at the PDFTranscoder.java file and the method is there. What am I doing wrong here?
Thank you very much for your help, Elena.