OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

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

java.lang.NoClassDefFoundError with Xalan and Xerces

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: 

xerces.jar and xalan.jar (and xalansamples.jar) are in CLASSPATH


   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.