java.security.cert.CertPathValidatorException: Path does not chain
很可能是
jdbc.url=jdbc:mysql://localhost:3306/ssmbuild?useSSL=true&useUnicode=true&characterEncoding=utf8
中useSSL=true 导致的
将他改为useSSL=false
兄弟们! 呜呜呜
我在想为什么呢(应该是有关于安全)
另外 如果删除useSSL=true也可以运行,但会出现以下内容
WARN: Establishing SSL connection without server’s identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn’t set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to ‘false’. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.