java.sql.SQLException: Unknown initial character set index ‘255’ received from server. Initial client character set can be forced via the ‘characterEncoding’ property.
这是mysql的连接错误,在网上查找到是编码不匹配的原因
直接在连接的URL后加上?useUnicode=true&characterEncoding=utf8就可以了