[jboss-user] [Installation, Configuration & Deployment] - 4.05GA javamail problem

bezdomny do-not-reply at jboss.com
Mon Oct 23 10:10:54 EDT 2006


I'm using a base install of 4.05GA and I get the following exception when trying to use javamail. I'm using the default service bound to java:/Mail.

java.lang.NoClassDefFoundError: com/sun/mail/util/SharedByteArrayInputStream

I get the mail session fine, but when I try to create a MimeMessage object like so: 
Message m = new MimeMessage(mailSession);

//this also fails:
MimeMessage m = new MimeMessage(mailSession);

I get the exception. Any ideas?

Thanks!!

B

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980063#3980063

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980063



More information about the jboss-user mailing list