To use PropertyPlaceholderConfigurer with the Configuration annoation, but without xml, use the @Import annotation.
@Configuration
public class DbConfigProperties {
@Bean
...
Type: Posts; User: Jonathan Beskin; Keyword(s):
To use PropertyPlaceholderConfigurer with the Configuration annoation, but without xml, use the @Import annotation.
@Configuration
public class DbConfigProperties {
@Bean
...