最近使用javamail编写发送邮件功能系统总是报如下错误

Mr_XK 发布于 2015/01/08 15:32
阅读 3K+
收藏 0
DEBUG: JavaMail version 1.4.1
DEBUG: not loading file: D:\tools\MyEclipse8.6\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\javamail.providers
DEBUG: java.io.FileNotFoundException: D:\tools\MyEclipse8.6\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\javamail.providers (系统找不到指定的文件。)
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: not loading file: D:\tools\MyEclipse8.6\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\javamail.address.map
加载中
0
开源中国总书记
开源中国总书记
服务器缺少javamail.jar吧??
0
南湖船老大
南湖船老大
javamail 使用的话,光有javamail.jar还不够,还需要一个包activation.jar
0
crixusshen
crixusshen
一个包在spring.support就可以直接使用
0
z
zhangzhichao
这是中文乱码问题
0
Mr_XK
Mr_XK

引用来自“南湖船老大”的评论

javamail 使用的话,光有javamail.jar还不够,还需要一个包activation.jar
谢谢!
0
醉了_睡了
醉了_睡了
同样问    怎么解决这个问题
返回顶部
顶部