1.Failed to obtain JDBC Connection; nested exception is com.mysql.jdbc.
链接数据库失败 一般就是版本问题 ,需要考虑你本地数据库的版本
比如我用的是MySqlWorkbench8.0 就需要使用8.0以上的依赖
原来我是使用5.0.11的版本结果就报了这个错误
2.You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.