Get a runtime error NoClassDefFoundError: com/sum/mail/util/SharedByteArrayInputStream when trying to use Java Mail 1.3.1
0 posts in topic
Flat View  Flat View

Posted By:   Ward_TeGrotenhuis
Posted On:   Friday, April 16, 2004 02:54 PM

I keep getting this error when trying to run Java Mail API. I get this when runing the msgsend demo that comes with Java Mail 1.3.1 download. The program compiles fine, but gives this NoClassDefFoundError when I try to run it. I am able to successfully send mail from examples/jsp/mail/sendmail.jsp that comes with Tomcat 4.1 with PostCast Server as my smtp server.

About | Sitemap | Contact