1、application.properties中配置错误 需要在 spring.datasource.url 属性中加上 &serverTimezone=Asia/Shanghai&useSSL=false