MyBatis错误整合(持续更新)

1:Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configurat

此问题为时区问题,在 JDBC 的连接 url 部分加上 serverTimezone=UTC 即可。 
如图: 
MyBatis错误整合(持续更新)

2:Cause: java.lang.ClassNotFoundException: Cannot find class: com.mysql.cj.jdbc.Driver,,

mysql-connection  jar包更新为8.0或者更高版本