This is probably simple, but I'm trying to instantiate a class that sends an email, but I'm getting this error in my
JSP when I'm trying to instantiate the class.
root cause: java.lang.NoClassDefFoundError: javax/mail/MessagingException
This error above refers, I think, to my "import javax.mail.MessagingException" line of code in the SendEmail class.
I believe my problem is that I'm missing a required library on the server since this SendEmail class works fine locally, but it's not clear which library I need to add to the server.
Can anyone please suggest what I'm missing?
Thanks very much in advance.
-- Mike