在swagger2章节中,mysql驱动版本反复报错
来源:5-7 swagger2的使用与接口测试

慕姐6484396
2019-04-18
Thu Apr 18 21:35:43 CST 2019 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.
添加&useSSL=false与修改pom中的驱动版本都无效
写回答
1回答
-
风间影月
2019-04-18
你用的mysql是什么版本的?你这应该是项目里的驱动包和版本不一致导致的
032019-04-18
相似问题