主要原因是时区配置的有歧义!
在URL后面加上&serverTimezone=Asia/Shanghai
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/db_springboot?useUnicode=true&characterEncoding=utf8
spring.datasource.username=root
spring.datasource.password=root
参考自https://www.cnblogs.com/sky-chen/p/10299822.html