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 configuration property) to use a more specifc time zone value if you want to utilize time zone support.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
解決方法 :
需要配置data-config.xml文件,在第6行url后添加“?serverTimezone=UTC”,如下所示:
?serverTimezone=UTC
或
?serverTimezone=Asia/shanghai