Re: Java and Xalan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



You need to add the xalan.jar etc to the classpath.  Something like this.
export CLASSPATH=$CLASSPATH:/xalan/xalan.jar:/xalan/xml-apis.jar:/xalan/xercesImpl.jar:/xalan/serializer.jar

http://xml.apache.org/xalan-j/commandline.html

Upul

On Feb 4, 2008 3:09 PM, http://www.pas-world.com <dev001@xxxxxxxxxxxxx> wrote:

Hello,
I have some problems running some tools of java in CentOS. Anyone know
where is the problem for this?


> [jv@localhost ~]$ java org.apache.xalan.xslt.Process
> Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.xalan.xslt.Process
>    at gnu.java.lang.MainThread.run(libgcj.so.7rh)
> Caused by: java.lang.ClassNotFoundException: org.apache.xalan.xslt.Process not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
>    at java.net.URLClassLoader.findClass(libgcj.so.7rh)
>    at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
>    at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
>    at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
>    at gnu.java.lang.MainThread.run(libgcj.so.7rh)
> [jv@localhost ~]$

Thanks in advance.


--
--
Publicidad http://www.pas-world.com

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux