The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

setting classpath for javamail

Posted by Rajesh on January 17, 2002 at 5:32 AM

I have the activation.jar and mail.jar and in c:\. i am using tomcat. when i send a mail this is what it shows . kindly help me.

error is
org.apache.jasper.JasperException: Unable to compile class for JSPD:\tomcat\work\localhost_8080%2Fmotherson\_0002fmachinemail_0002ejspmachinemail_jsp_0.java:16: Package javax.mail not found in import.
import javax.mail.*;
^
D:\tomcat\work\localhost_8080%2Fmotherson\_0002fmachinemail_0002ejspmachinemail_jsp_0.java:17: Package javax.mail.internet not found in import.
import javax.mail.internet.*;
^
D:\tomcat\work\localhost_8080%2Fmotherson\_0002fmachinemail_0002ejspmachinemail_jsp_0.java:18: Package javax.activation not found in import.
import javax.activation.*;
^




Replies:
  • classpath Chin Loong January 17, 2002 at 12:52 PM (0)
  • help saurabh January 17, 2002 at 6:28 AM (0)

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us