xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samuel Remacle" <srema...@hotmail.com>
Subject Re: FOP embedding problem (NoClassDefFoundError)
Date Tue, 19 Jul 2005 08:16:07 GMT
<html><div style='background-color:'><DIV class=RTE>
<P><BR><BR></P><BR><BR><BR>&gt;From: Chris Bowditch
&lt;bowditch_chris@hotmail.com&gt;<BR>&gt;Reply-To: fop-users@xmlgraphics.apache.org<BR>&gt;To:
fop-users@xmlgraphics.apache.org<BR>&gt;Subject: Re: FOP embedding problem (NoClassDefFoundError)<BR>&gt;Date:
Tue, 19 Jul 2005 09:10:47 +0100<BR>&gt;<BR>&gt;Samuel Remacle wrote:<BR>&gt;&gt;Hello,<BR>&gt;&gt;<BR>&gt;&gt;I'm
a young programmer and I'd like to embed FOP in my application, <BR>&gt;&gt;but
unfortunately I'm having some problems to do this.<BR>&gt;&gt;<BR>&gt;&gt;First
of all, I tried to embed FOP using the code given in the <BR>&gt;&gt;sample
application ExampleFO2PDF (available with FOP), but when I <BR>&gt;&gt;tried
to test my application, I got the following error:<BR>&gt;&gt;<BR>&gt;&gt;Exception
in thread main<BR>&gt;&gt;java.lang.NoClassDefFoundError: org.apache.fop.fo.PropertyListMaker<BR>&gt;<BR>&gt;It
sounds to me as if 
you have downloaded the source code and not <BR>&gt;the binary distribution. Am
I right? In which case you need to run <BR>&gt;the ant build script to create the
Property classes! Just type build <BR>&gt;from the command line in the directory
where you have downloaded <BR>&gt;FOP!<BR>&gt;<BR>&gt;Chris<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;---------------------------------------------------------------------<BR>&gt;To
unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org<BR>&gt;For additional
commands, e-mail: <BR>&gt;fop-users-help@xmlgraphics.apache.org<BR>&gt;<BR></DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>No, I tried both, first I downloaded the binary distribution, and when
I saw it wasn't working I tried to download the source code and I built it with the build.bat
file given with FOP, so I obtained the fop.jar file (which is supposed to contain all the
necessary classes) and I added it to my environment (Oracle JDeveloper) but I'm getting the
errors I explained in my previous mail.</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>Sam</DIV></div></html>

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

View raw message