• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to find required classes (javax.activation.DataHandler and javax.mail.internet

 
Mike Ottinger
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,

I've scoured the web looking for a solution to this. I've just created a simple Hello World web service and was never able to get rid of this message, even though I placed a classpath reference to it everywhere I could think of. I'm running Axis 1.2.1 with tomcat. I placed the jars in the /lib directory as well as my system classpath, no luck. Anybody have ideas on how to solve this? It doesn't seem to be breaking anything, but then again I'm not dealing with attachments in my soap which it's disabling. Is this a bug?

-M
 
Mike Ottinger
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
FYI, I found the solution:

place the activation.jar and mail.jar files in your <jre_home>\jre\lib\ext directory. Just in case anybody needed to know.

Thanks!

-Mike
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!