本地使用了tomcat容器,因为服务编码问题导致的错误 最终问题解决: idea -- run -- Edit Configurations -- 选择tomcat服务 -- VM options: -Dfile.encoding=UTF-8