Meaningless Drivel is fun!*
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: 41188
    
  45
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 - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java mail api
 
Similar Threads
Errors while Deploying my App
Http status 500 Error instantiating servlet class peigov.businessportal.servlets.LoginServlet
Problem While using Java Mail API....
Can't instantiate simple class
java mail..plz help