[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

java.lang.NoClassDefFoundError with Xalan and Xerces

  • From: Dan Diebolt <dandiebolt@y...>
  • To: xml-dev@x...
  • Date: Fri, 30 Mar 2001 10:20:33 -0800 (PST)

java.lang.noclassdeffounderror
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.