zou23843492 发表于 2014-9-19 11:46:40

发送邮件异常java.lang.UnsupportedOperationException: Method not yet imp...

报错异常如下:
java.lang.UnsupportedOperationException: Method not yet implemented
        at javax.mail.internet.MimeMultipart.<init>(MimeMultipart.java:37)
        at org.apache.commons.mail.MultiPartEmail.createMimeMultipart(MultiPartEmail.java:505)
        at org.apache.commons.mail.MultiPartEmail.init(MultiPartEmail.java:176)
        at org.apache.commons.mail.MultiPartEmail.getContainer(MultiPartEmail.java:482)
        at org.apache.commons.mail.HtmlEmail.build(HtmlEmail.java:522)
        at org.apache.commons.mail.HtmlEmail.buildMimeMessage(HtmlEmail.java:507)
        at org.apache.commons.mail.Email.send(Email.java:1266)
        at org.jeecgframework.core.util.SendMailUtil.sendCommonMail(SendMailUtil.java:140)


在单独测试和在项目中的test包下测试都发送成功。一旦纳入项目中就报错


而单独建一个项目测试发邮件是正常发送成功。               

go猫猫 发表于 2014-10-15 15:42:18

遇到同样问题,没人来解答吗
页: [1]
查看完整版本: 发送邮件异常java.lang.UnsupportedOperationException: Method not yet imp...