连接mysql数据库的时候报了这个错误Communications link failure,查看错误信息报: Path does not chain with any of the trust anchors 在jdbcURL里,把useSSL=true改为useSSL=false。就可以连接成功了。 本机的mysql设置默认手动开启,连接数据库之前,要在此电脑的管理设置里开启mysql服务。