Yes, there is no such method in the Fop class. I'm never calling it. Like I mentioned in my post the exception occurs when I call the constructor for the Fop class.
Fop fop = new Fop(Fop.RENDER_PDF); If I don't use the Fop class how can I render the PDF document from the FO document? I'm working off of this example specifically: http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/ExampleFO2PDF.java?rev=HEAD Is there a better one I should be looking at? Thanks for your help, -- Dan On Wed, 29 Sep 2004 21:00:32 +0200, J.Pietschmann <[EMAIL PROTECTED]> wrote: > Dan Glauser wrote: > > java.lang.NoSuchMethodError: org.apache.fop.apps.Fop.<init>(I)V > > > > is the exception I recieve when I try and run FOP within my WebApp > > running on JBoss. Specifically it happens on this line of code: > > > > Fop fop = new Fop(Fop.RENDER_PDF); > > Well, there is no such method in the org.apache.fop.apps.Fop class, > exactly as the error message says. I have no idea how you managed > to compile this. > You should not use org.apache.fop.apps.Fop anyway, check > http://xml.apache.org/fop/embedding.html > for how to use FOP in a web application. > > J.Pietschmann > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]