Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set

spring boot启动的时候,报了这个错误

发现很多都是让我们添加方言

例如:

database-platform: org.hibernate.dialect.OracleDialect

然而我发现问题根本不是这个

我在连接数据的url处添加了时区设置就不报错了

jdbc:mysql://localhost:3306/test?serverTimezone=UTC
金麟岂是池中物,一遇风云便化龙!
原文地址:https://www.cnblogs.com/ABKing/p/12945094.html