在單元測試發現causeBy:javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException
經發現是db.properties,SSL=true的錯誤,刪掉即可
願代碼
jdbc.url=jdbc:mysql://localhost:3306/ssmbuild?useSSL=true&useUnicode=true&characterEncoding=utf8
改掉之后:
jdbc.url=jdbc:mysql://localhost:3306/ssmbuild?useUnicode=true&characterEncoding=utf8
最后成功解決

