jenkins + jmeter +ant 发送邮件失败,报错:java.lang.ClassNotFoundException: javax.activation.DataHandler
或java.lang.ClassNotFoundException: javax.mail.internet.MimeMessage
解决办法:
下载activation-1.1.1.jar包:http://www.java2s.com/Code/Jar/a/Downloadactivation111jar.htm
下载javax.mail.jar包:https://github.com/javaee/javamail/releases
将这两个 jar 包都放在 Ant 的 \lib 目录下,再次运行即可。
标签:ClassNotFoundException,jar,Ant,Jenkins,Jmeter,javax,邮件 From: https://www.cnblogs.com/manmande/p/17223664.html