debian8安装java_在debian Jessie中安装Java 8

与@ user2528085相同,您只需将Debian backport添加到源列表文件中。

在shell中运行以下命令:

javax.mail.MessagingException: Could not connect to SMTP host: chnmail.hcl.com, port: 25;

nested exception is:

javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934)

at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638)

at javax.mail.Service.connect(Service.java:313)

at javax.mail.Service.connect(Service.java:172)

at javax.mail.Service.connect(Service.java:121)

at javax.mail.Transport.send0(Transport.java:190)

at javax.mail.Transport.send(Transport.java:120)

at SendingClass.SendEmail.main(SendEmail.java:55)

Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:694)

at sun.security.ssl.InputRecord.read(InputRecord.java:527)

at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:954)

at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343)

at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1371)

at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)

at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:503)

at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:234)

at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1900)

... 7 more

没什么难的

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值