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.
出现该问题是在创建mysql链接时其url路径需要加上时区
url=jdbc:mysql://localhost:3306/massion?serverTimezone=GMT%2b8解决错误