Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

com/sun/mail/util/SharedByteArrayInputStream?

843830Aug 8 2006 — edited Aug 9 2006
When using mail.jar to send an e-mail, it generates this exception when using the mail.jar file.

Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/SharedByteArrayInputStream
at mypkg.send2(EmailSMS.java:350)
at myclass.main(testEmail.java:42)

The exception is correct in that there is no com/sun/mail/util/SharedByteArrayInputStream in the mail.jar file or in my class path that I can see. Where would this class live and where can I find it?

I am using mail 1.4 with the signing files removed, and using JRE 1.4.2

Any help greatly appreciated.

Regards,
ec

Message was edited by:
echwalik

Message was edited by:
echwalik
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 6 2006
Added on Aug 8 2006
3 comments
2,625 views