在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是什么版本的?你这应该是项目里的驱动包和版本不一致导致的

0
3
慕姐6484396
回复
风间影月
好,我这就去试一试,非常感谢!
2019-04-18
共3条回复

Spring Boot短视频小程序开发 全栈式实战项目

一门课程带你搞定短视频小程序全栈开发,毕业设计之利器!

2613 学习 · 1951 问题

查看课程