@Configuration
public class PropertySourcePlaceholderConfig {
    @Bean
    public PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer(){
        PropertySourcesPlaceholderConfigurer configurer = new PropertySourcesPlaceholderConfigurer();
        configurer.setIgnoreUnresolvablePlaceholders(true);
        return configurer;
    }

}

      </div>
    </div>

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2021-08-25
  • 2021-10-25
  • 2021-06-27
  • 2022-01-20
  • 2021-10-19
猜你喜欢
  • 2022-01-20
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案