Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Configuration
- @PropertySource({"classpath:properties/filewithsomejsurl.properties"})
- public class AppConfigs {
- @Bean
- public static PropertySourcesPlaceholderConfigurer propertyPlaceholderConfigurer() {
- PropertySourcesPlaceholderConfigurer p = new PropertySourcesPlaceholderConfigurer();
- p.setIgnoreResourceNotFound(true);
- p.setIgnoreUnresolvablePlaceholders(false);
- p.setLocalOverride(false);
- return p;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement