Req: How to fixed -> java.lang.NoClassDefFoundError

Status
Not open for further replies.

ZeRoN

Advanced Member level 4
Joined
Jun 28, 2001
Messages
104
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Activity points
1,184
tofixed java

java -jar javafile.jar

Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/internet/MimeUtility
at a.a.b.b.a.a.a.a(Unknown Source)
at a.a.b.c.b.i.if(Unknown Source)
at a.a.b.c.b.i.a(Unknown Source)
at a.a.b.c.b.i.a(Unknown Source)
at a.a.b.c.b.i.if(Unknown Source)
at a.a.b.c.b.i.<init>(Unknown Source)
at a.a.b.c.b.p.a(Unknown Source)
at a.a.b.c.b.p.a(Unknown Source)
at a.a.b.c.b.p.void(Unknown Source)
at a.a.b.c.b.p.j(Unknown Source)
at b.b.<init>(Unknown Source)
at a.<init>(Unknown Source)
at a.main(Unknown Source)

JDK+JRE 1.4.1
WinXP Pro + SP1

Could anyone can fixed this error?
plz tell me, How to.


THX.
 

noclassdeffounderror+polish

ZeRoN said:
java -jar javafile.jar

Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/internet/MimeUtility

Well, you have to download the javax.mail package from SUN ( java.sun.com/products/javamail/ ), and put its jar into the classpath:


set CLASSPATH=c:\some\path\javamail.jar;%CLASSPATH%
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…