Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Other JSE/JEE APIs and the fly likes java.lang.NoClassDefFoundError: javax/mail/MessagingException 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.lang.NoClassDefFoundError: javax/mail/MessagingException" Watch "java.lang.NoClassDefFoundError: javax/mail/MessagingException" New topic

java.lang.NoClassDefFoundError: javax/mail/MessagingException

Ganesh Gore

Joined: Jan 03, 2011
Posts: 24

I am encountering this only while running the code and not while compiling. Have added javamail and activation jar file.

Please help.

Thanks in advance.
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

You're going to have to say a bit more about your run-time environment than just that. Have a look at our FAQ entry TellTheDetails to find out why.
I agree. Here's the link:
subject: java.lang.NoClassDefFoundError: javax/mail/MessagingException
It's not a secret anymore!