Caused by: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust

345 阅读1分钟

Causedby:java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors

错误展示

在这里插入图片描述

原因分析

使用了useSSL=true
在这里插入图片描述

解决措施

设置useSSL=false即可
在这里插入图片描述