xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From code_expert <sh.shah...@gmail.com>
Subject Re: FOP does not create PDF file
Date Tue, 26 Apr 2011 17:42:08 GMT

Hi, Thanks for your reply. I checked the classpath, and it was empty. Then I
added the fop.jar to it, using export and also /etc/environment, but it
didn't make any changes. Any other idea? 



Rob Sargent-4 wrote:
> 
> Your classpath is missing fop.jar?
> 
> On 04/26/2011 10:43 AM, code_expert wrote:
>> Hi Guys,
>>
>> I have installed fop 0.95 (on ubuntu) and I am trying to use it within an
>> application to create pdf files. I get the following error message
>> though. I
>> appreciate any help or idea, as I am not sure what causes this and how to
>> fix it.
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/apache/fop/cli/Main Caused by:
>> java.lang.ClassNotFoundException: org.apache.fop.cli.Main at
>> java.net.URLClassLoader$1.run(URLClassLoader.java: 217) at
>> java.security.AccessController.doPrivileged(Native Method) at
>> java.net.URLClassLoader.findClass(URLClassLoader.j ava:205) at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:3 21) at
>> sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:294) at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:2 66) Could not find the
>> main class:
>> org.apache.fop.cli.Main. Program will exit.
>>
>> Thanks,
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/FOP-does-not-create-PDF-file-tp31480120p31480642.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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