You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Richard Sweeney <Ri...@spanlink.co.uk> on 2002/10/15 13:42:39 UTC

NoSuchMethodError when instaniating Driver

I'm trying to render a PDF document in a servlet but I cannot even
instantiate the Driver.

The only line that I have in my code currently is

Driver driver = new Driver();

and the rest is commented out. I get the following:

java.lang.NoSuchMethodError
        at org.apache.fop.apps.Driver.getParserClassName(Unknown Source)
        at org.apache.fop.svg.SVGElementMapping.setupSVG(Unknown Source)
        at org.apache.fop.svg.SVGElementMapping.addToBuilder(Unknown Source)
        at org.apache.fop.apps.Driver.addElementMapping(Unknown Source)
        at org.apache.fop.apps.Driver.addElementMapping(Unknown Source)
        at org.apache.fop.apps.Driver.setupDefaultMappings(Unknown Source)
        at org.apache.fop.apps.Driver.<init>(Unknown Source)

Could this be something to do with incompatible jar file versions? Any help
would be appreciated.