Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: java.securi
Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
·
Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
方法一、修改数据库配置
将useSSL=true改为useSSL=false
方法二、修改mysql-connector-java依赖版本号
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.28</version>
</dependency>
更多推荐
所有评论(0)