错误的初始是因为 数据库是数据库一直连接不上导致消息阻塞,后来发现是druid一直无法创建连接导致的
debug发现错误信息
java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
最后修改
mysql5.7新增的连接加密安全认证,我们测试库没开,所以一直报错。