xmlgraphic error



After installing 0.95 fop on solaris box, with java installed as well; running test  ./fop.sh -fo examples/fo/basic/readme.fo -awt   got the below error:   ava.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.fop.cli.Main.startFOPWithDynamicClasspath(Main.java:132)
        at org.apache.fop.cli.Main.main(Main.java:199)
Caused by: java.lang.NoClassDefFoundError: org/apache/xmlgraphics/image/loader/ImageContext
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader....

java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at org.apache.fop.cli.CommandLineOptions.<init>(CommandLineOptions.java:102)
        at org.apache.fop.cli.Main.startFOP(Main.java:153)
Anyone knows why? thanks. Tuan.
 
From: Frank Habermann <lordlamer@xxxxxxxxxxxx>
To: fop-users@xxxxxxxxxxxxxxxxxxxxxx
Sent: Thursday, February 12, 2009 12:56:18 AM
Subject: Re: fop.sh

Hi,

because the script is called "fop" ?!

Frank

Tuan Quan schrieb:
> Hi all,
> I downloaded the binary FOP 0.95, but could not find fop.sh script.
> Anyone know why?
> thanks.
> tuan.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: fop-users-help@xxxxxxxxxxxxxxxxxxxxxx



Privacy