WHAT ARE YOUR settings? And don't forget to mention SERVLET - JSP SERVER and
classpath.
Your settings ex
CLASSES
PACKAGE
YOURCLASSES
YOURCODE?
> -----Original Message-----
> From: Mamadou Bobo Sylla [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, June 08, 2001 4:28 AM
> To: [EMAIL PROTECTED]
> Subject: NoClassDefFoundError with my servlet
>
> I am writing an application in servlet.
> And there are certain functions I need to use in most of the classes I am
> writing.
> To avoid including the whole code of those functions in my classes each time
> I need them,I have decided to create a package where I am including the
> classes containing those function.
>
> One of the class of my package is SendMail.
> I m calling SendMail class inside Registration class.I can compile both
> classes.But when I run the Registration class I receive the error message
> NoClassDefFoundError javax/mail/Session.
> I had set my classpath to mail.jar and to activation.jar.....those settings
> are fine since I am able to send email when I include the whole code of
> SendMail inside Registration class.
>
> I wonder what is wrong with my settings.
>
> Please I need your help.
> Thank you in advance
>
> Bobo
>
> ___________________________________________________________________________
> 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