解决办法 1、加上encoding = “UTF-8” @PropertySource(value=“classpath:info.properties”,encoding = “UTF-8”)//读取这个配置文件 2、IDEA设置