[Home] [By Thread] [By Date] [Recent Entries]

  • From: Dan Diebolt <dandiebolt@y...>
  • To: xml-dev@x...
  • 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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member