I have "inherited" a Java programme which accesses APIs of Polarion and Mantis. The application had mail.jar in its lib folder which I removed because sending emails is not a part of the application.
However, since I removed this library, the first line in the Eclipse console is...
[WARN] JavaUtils - Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
Can you explain me why this warning occurs although my application has nothing to do with emails? The warning has no impact on my application, it runs smoothly.
This is the list of libraries which is in the lib folder of my application, they are all included in the properties of my project apart from the mail.jar.
Please do not write comments like "But do YOU really know that there is NO email sending in the code?" Yes, I know this because I know the code off the cuff.
Please do not mark this is as a duplicate of Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled because it simply isn't. I want to get rid of this mail.jar library, not including it for supressing a warning.