xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Using FOP examples
Date Wed, 15 Feb 2006 07:57:48 GMT
Please check that you don't have an old fop.jar (from 0.20.5) still in
your classpath. The old fop.jar also has a org.apache.fop.apps.Fop class
but its function was a different one.

On 14.02.2006 23:31:33 Tracey Zellmann wrote:
> I have downloaded fop-0.91beta-bin-jdk1.4 and I am trying to use some
> of the examples. Specifically, ExampleXML2PDF. I have put all the jars into
> my class path. I am getting an error when the program runs - 
> 
> Exception in thread "main" java.lang.NoSuchMethodError: org.apache.fop.apps.Fop.<init>(Ljava/lang/String;)V
>         at embedding.ExampleXML2PDF.main(ExampleXML2PDF.java:69)
> 
> The referenced line is: 
> Fop fop = new Fop(MimeConstants.MIME_PDF);
> 
> Any thoughts what migth be wrong?
> 
> I have checked that fop.jar for this version is in the path and it contains org.apache.fop.apps.Fop
> 



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message