File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

java mail api

Deepak Rajkiran

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.


javax.servlet.ServletException: javax/mail/MessagingException

root cause

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

Joined: Mar 22, 2005
Posts: 39551
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:
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....