首页 > 编程语言> > “Error:(26, 16) java: 程序包sun.misc不存在” && “Path does not chain with any of the trust anchors 异常”
“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中数据库名不要写错!)
标签:26,useSSL,java,chain,misc,程序包,trust 来源: https://blog.csdn.net/weixin_44290191/article/details/118097092