Cause of the error
The time zone of the database is inconsistent with the time zone of the system.
Solution
Add serverTimezone=GMT to the url of jdbc connection to solve the problem. Or use a lower version of the mysql driver, 5.1.28 will not have a time zone problem.
Change the url to the following figure:
Note : The & separator must be added to separate the encoding format from the previous one.