is your bean in WEB-INF/classes(or lib) or in the same directory as
mail.jar?

did you review the classloading document to make sure your classses/libs are
in the correct places?
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

Charlie


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 22, 2002 6:19 PM
> To: Tomcat Users List
> Subject: Re: why can't tomcat 4.1.17 can't find javamail?
> 
> 
> On Fri, 20 Dec 2002, Dodd Gatsos wrote:
> 
> > Looks like you are having this problem from a JSP?
> > 
> > Try doing it in a Servlet and see if you get the same problem.
> > 
> > Haven't seen your code and I'm really not sure about this, 
> but it may not be
> > a problem with Tomcat finding the jar file.  You may need 
> to include <%@
> > page import="javax.mail.internet.AddressException"%> in 
> your JSP file??
> 
> That's not the problem. I get this error because a bean can't be 
> instantiated because the jvm can't find javamail.
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to