[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
java.lang.NoClassDefFoundError with Xalan and Xerces
- From: Dan Diebolt <dandiebolt@yahoo.com>
- To: xml-dev@xml.org
- Date: Fri, 30 Mar 2001 10:20:33 -0800 (PST)
I am using Xerces and Xalan to transform an xml file but keep getting
an exception:
DOS>java org.apache.xalan.xslt.Process
-in family.xml -xsl family.xsl -out family.out
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xalan/xslt/Process
xerces.jar and xalan.jar (and xalansamples.jar) are in CLASSPATH
DOS>echo %CLASSPATH%
C:\MyClass;C:\PROGRA~1\PHOTOD~1.0\ADOBEC~1
DOS>dir C:\MyClass
SAX JAR 8,742 05-12-98 5:08a sax.jar
XT JAR 352,905 11-05-99 6:14p xt.jar
XALAN JAR 436,249 12-01-00 4:12p xalan.jar
XERCES JAR 804,460 12-01-00 4:12p xerces.jar
XALANS~1 JAR 21,434 12-01-00 4:12p xalansamples.jar
Seems like I did everything correct but it still doesn't find the
jar files. Any help would be appreciated.
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/?.refer=text