xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tracey Zellmann" <tracey.zellm...@comcast.net>
Subject Re: Using FOP examples
Date Wed, 15 Feb 2006 21:42:35 GMT
Thanks for the reply. I had taken the old jars out of my Eclipse project, 
but overlooked some buried references in my user and system classpath. Your 
note triggered my memory, and I was able to solve that problem.

----- Original Message ----- 
From: "Jeremias Maerki" <dev@jeremias-maerki.ch>
To: <fop-users@xmlgraphics.apache.org>
Sent: Wednesday, February 15, 2006 2:57 AM
Subject: Re: Using FOP examples


> 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
>
> 



---------------------------------------------------------------------
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