spring2.0:The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. You must configure either th

提示系统时区出现错误,可以在mysql中执行命令: 

set global time_zone='+8:00' 


或者在数据库驱动的url后加上serverTimezone=UTC参数

jdbc:mysql://localhost:3306/exam?characterEncoding=utf8&serverTimezone=UTC

  

原文地址:https://www.cnblogs.com/wuxiang12580/p/10320003.html