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

错误描述

 利用webservice生成xml后在调用端调用时爆出警告 警告: 

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

解决方法

在pom文件中加入依赖:

    
        javax.activation
        activation
        1.1.1
    
    
    
        javax.mail
        mail
        1.4.7
    
    

你可能感兴趣的:(Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart))