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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to