方法一:将下图的*.properties编码选为UTF-8方法二: 如果你是springboot的项目,可以将application.properties改用application.yml即可直接敲入中文