今天连接服务器数据库遇到一个特别不解的问题,数据结构,密码等都正确。
就是报错500.
首先看错误,按照看错误的方法,应该是自下而上。于是我滑到最下面。
看到最后那个错误信息。
java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
解决办法是:
将原本为true的,改为false即可。
今天连接服务器数据库遇到一个特别不解的问题,数据结构,密码等都正确。
就是报错500.
首先看错误,按照看错误的方法,应该是自下而上。于是我滑到最下面。
看到最后那个错误信息。
java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
解决办法是:
将原本为true的,改为false即可。