Javamail Curiousness - LineInputStream not found - but is in classpath!

Hello friends -

I've got an application that knows how to send mail, and it will send emails all day long if I don't try to utilize attachments.  But, if I try to attach some Mime parts, I get a ClassDefNotFound com.sun.mail.util.LineInputStream error bubble up; but I do have mail.jar and activation.jar on my classpath!  

Has anyone faced this?  

Thanks.
brian
passionlessDroneAsked:
Who is Participating?
 
for_yanCommented:

Maybe  you want to check sismilart story here (see at the bottom):
http://www.coderanch.com/t/458013/java/java/Exception-trying-compile-run-JavaMail
0
 
passionlessDroneAuthor Commented:
Hi for_yan -

That's what was happening.  Weird.

Thanks.  Points awarded.

brian
0
 
CEHJCommented:
It might help to see your classpath. Place the following as the first line of main:



System.out.println(System.getProperty("java.class.path"));

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.