Make sure that your mail.jar and activation.jar are where your servlet
engine is looking, which is rarely on the CLASSPATH. Your message doesn't
say what servlet engine you're using, but for JWS, you should copy those
files to <server_root>/lib
(*Chris*)
----- Original Message -----
From: Haobi Wang <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 06, 1999 2:29 PM
Subject: NoClassDefFoundError
> Hi all,
>
> My servlets are working well, my applications using javamail classes are
> working well in MSDOS command line. but when I try to use javamail in a
> servlet and call it from a browser, it gives
> 'java.lang.NoClassDefFoundError: javax/mail/Address' error. Can anyone
help
> me? Thanks.
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html