報錯:java.sql.SQLException: The server time zone value '�й���ʱ��' is unrecognizedjava
在IDEA運行是報出例如相識的錯誤時:mysql
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.
那麼此時查看你的mysql依賴是否版本太高:sql
這時將它降到6如下試試,樓主降到5.1.45就OK了spa