headermask image

header image

[axis-admin] - Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.

When deploying the web services using the ant, you may receive the following error,

[axis-admin] - Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.

This is caused due to the missing jar files in the application lib folder. Note that this may be a warning message depending on your deployment.
To get rid of this message, copy the following jar files into the application lib folder,

  • activation.jar
  • mail.jar

I found these jar files in the glassfish installation directory of mine. These jar contain the missing class files and you won’t get the warning message anymore.

If you liked my post, feel free to subscribe to my rss feeds

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*