File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes java mail api Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "java mail api" Watch "java mail api" New topic
Author

java mail api

Deepak Rajkiran
Greenhorn

Joined: Feb 10, 2008
Posts: 6
i got the problem when i was run send mail program on server.
the erorr message is....please help me

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: javax/mail/MessagingException
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

java.lang.NoClassDefFoundError: javax/mail/MessagingException
java.lang.Class.getDeclaredConstructors0(Native Method)
java.lang.Class.privateGetDeclaredConstructors(Unknown Source)r
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39551
    
  27
Welcome to JavaRanch.

It sounds as if the JavaMail jar file is nor properly deployed, or the jar file is corrupted. Where is the jar file located?


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java mail api
 
Similar Threads
java mail..plz help
Errors while Deploying my App
Can't instantiate simple class
Http status 500 Error instantiating servlet class peigov.businessportal.servlets.LoginServlet
Problem While using Java Mail API....