Spring @Value 注入汉字乱码问题解决方法
1.添加注解
@PropertySource(value = "classpath:application.properties",encoding = "utf-8")
2.修改idea字符编码

3.修改idea 下*.properties文件换行符

1.添加注解
@PropertySource(value = "classpath:application.properties",encoding = "utf-8")
2.修改idea字符编码

3.修改idea 下*.properties文件换行符
