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

Exception in thread "main" java.lang.NoClassDefFoundError: Echo01

  • From: light weight <light_wt@h...>
  • To: xml-dev@l...
  • Date: Fri, 13 Jul 2001 20:43:20 +0000

exception in thread main java.lang.noclassdeffound

I have a problem with running the java problem Echo01.java.  It is 
downloaded from sun's site 
<http://java.sun.com/xml/jaxp-1.1/docs/tutorial/sax/work/Echo01.java>.

The error message is "Exception in thread "main" 
java.lang.NoClassDefFoundError: Echo01".

I don't understand how to fix it.  Any clue?  I am able to compile and run 
simple HelloWorld.java example.  Following is the log.  Thanks in advance.

D:\java>javac -classpath 
.;%JAXP%\jaxp.jar;%JAXP%\crimson.jar;%JAXP%\xalan.jar Echo01.java

D:\java>java -classpath 
.;%JAXP%\jaxp.jar;%JAXP%\crimson.jar;%JAXP%\xalan.jar Echo01
Exception in thread "main" java.lang.NoClassDefFoundError: Echo01

D:\java>java -version
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)
D:\java>set
COMPUTERNAME=PGRWD002
ComSpec=C:\WINNT\system32\cmd.exe
CP=.;D:\jdk1.3.1\jre\lib\ext\jaxp-1.1\jaxp.jar;D:\jdk1.3.1\jre\lib\ext\jaxp-1.1\
crimson.jar;D:\jdk1.3.1\jre\lib\ext\jaxp-1.1\xalan.jar
HOMEDRIVE=C:
HOMEPATH=\
include=C:\Program Files\Microsoft Visual Studio\VC98\atl\include;C:\Program 
Fil
es\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files\Microsoft 
Visual St
udio\VC98\include
JAXP=D:\jdk1.3.1\jre\lib\ext\jaxp-1.1
lib=C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program 
Files\Micro
soft Visual Studio\VC98\lib
LOGONSERVER=\\ZRCHB150
MSDevDir=C:\Program Files\Microsoft Visual Studio\Common\MSDev98
MSINPUT=C:\Program Files\MS Hardware
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Os2LibPath=C:\WINNT\system32\os2\dll;
Path=C:\WINNT\system32;C:\WINNT;d:\jdk1.3.1\bin;C:\DMI\bin;C:\ORAWIN95\BIN;;c:\P
rogram Files\Rational\ClearCase4\bin;C:\WINNT\System32\WBEM;C:\Program 
Files\Mic
rosoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual 
Studio
\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual 
Studio\Common\Tools;C:\Pro
gram Files\Microsoft Visual 
Studio\VC98\bin;;C:\usr\local\wbin;C:\ISI68K\sniff\m
ks\mks-5.2\mksnt
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 6, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0806
PROMPT=$P$G
sirCC_DEBUG=3
SMS_LOCAL_DIR=C:\WINNT
SystemDrive=C:
SystemRoot=C:\WINNT
TEMP=C:\TEMP
TMP=C:\TEMP
USERDOMAIN=USDOMAIN
USERNAME=coffeedrinker
USERPROFILE=C:\WINNT\Profiles\coffeedrinker
VIM=C:\usr\local\wbin
WIN32DMIPATH=C:\DMI\
windir=C:\WINNT
D:\java>dir D:\jdk1.3.1\jre\lib\ext\jaxp-1.1\*.jar
Volume in drive D has no label.
Volume Serial Number is AC36-C8E1

Directory of D:\jdk1.3.1\jre\lib\ext\jaxp-1.1

02/06/01  09:42p               187,162 crimson.jar
02/06/01  09:43p                28,404 jaxp.jar
02/06/01  09:43p               801,714 xalan.jar
               3 File(s)      1,017,280 bytes
                         32,579,317,760 bytes free



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


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.