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

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: 41188
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:
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