1.在XML文件中不能出现& 要用;来代替
2.在XML中配置数据库连接的时候 会出现
要在数据库后面放上?serverTimezone=UTC (时区!)
否则会出错:
Cause: 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.