报错信息如下
Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.7:generate (default-
cli) on project library: 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.
解决方法:
在my-batis-generator的配置文件中找到connectionURL,在后面双引号内加上&serverTimezone=Asia/Shanghai
Process finished with exit code 0
运行成功!