Mybatis配置错误

org.apache.ibatis.exceptions.PersistenceException

完整error:

### Error querying database.
Cause: java.sql.SQLException: 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.
### The error may exist in UserMapper.xml
### The error may involve cn.alpaca.mapper.UserMapper.selectUser
### The error occurred while executing a query
### Cause: java.sql.SQLException: 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.

解决:
在这里插入图片描述
<property name=“url”的最后,添加一段:&serverTimezone=UTC
在这里插入图片描述

注意图片,&amp不能显示出现,还有分号;(EN)