出现 Unknown initial character set index '255' received from server. Initial client character set can be forced via the 'characterEncoding' property. 或者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 p的
下面明显看到??? 是因为无法编译的问题,所以找到jdbc里面连接数据库的部分,有没有转码
因为jdbc:mysql://localhost/rc后面没有加上这句话 ?useUnicode=true&characterEncoding=utf8
现在变成jdbc.url=jdbc:mysql://localhost:3306/ssm_db?useUnicode=true&characterEncoding=utf8