学习ssm的时候,在进行数据库的链接shi,出现了
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
的问题,经过查找资料发现这是由于这个错误是时区导致的,所以需要在配置连接url后面加上时区:<property name="url" value="jdbc:mysql://localhost:3306/mysql?serverTimezone=UTC" />
增加了serverTimezone=UTC
后就可以正常编译了