启动服务时出现报错
com.zaxxer.hikari.util.DriverDataSource : Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
而且接口有时候能访问成功,有时候的超时连接,异常的慢
经查询,是由于时区配置的有歧义
driver 目前用的是 com.mysql.jdbc.Driver,新版已经变为 com.mysql.cj.jdbc.Driver
作出一下修改:
问题解决: