在jdbc.properties文件中的url后面添加 ?characterEncoding=UTF-8 例如: url=jdbc:mysql://localhost:3306/test?characterEncoding=UTF-8