Springboot 在IDEA讀取properties配置文件的中文亂碼問題

1、 問題描述, 在加載使用如下 @Component  @ConfigurationProperties(prefix = 「com.jdjr.response」)  @PropertySource(「classpath:/config/commonConfig.properties」)  public class CommonConfig {  } 加載到的屬性中存在中文, 就會亂碼。 2、
相關文章
相關標籤/搜索