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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to