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@pas-world.com 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@centos.org http://lists.centos.org/mailman/listinfo/centos