“Error:(26, 16) java: 程序包sun.misc不存在” && “Path does not chain with any of the trust anchors 异常”
重构遇到的问题项目
“Error:(26, 16) java: 程序包sun.misc不存在”
解决方案:
将SDK版本改为1.8的即可~
Caused by: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors 异常
解决方案:
useSSL=true改为useSSL=false即可(同时主要url中数据库名不要写错!)
...
原创
2021-06-21 23:44:49 ·
283 阅读 ·
0 评论