Springboot 在IDEA读取properties配置文件的中文乱码问题

1、 问题描述, 在加载使用如下 @Component  @ConfigurationProperties(prefix = “com.jdjr.response”)  @PropertySource(“classpath:/config/commonConfig.properties”)  public class CommonConfig {  } 加载到的属性中存在中文, 就会乱码。 2、
相关文章
相关标签/搜索