错误日志:
org.jivesoftware.smack.SmackException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
原因分析:没有SSL证书
解决方法:
builder.setSecuryMode(SecuryMode.disable)
错误日志:
org.jivesoftware.smack.SmackException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
原因分析:没有SSL证书
解决方法:
builder.setSecuryMode(SecuryMode.disable)