archaius-spring-adapter
archaius-spring-adapter copied to clipboard
@Bean method MyAppConfig.bridgePropertyPlaceholder is non-static and returns an object assignable to Spring's BeanFactoryPostProcessor interface
14:33:09.033 [main] WARN o.s.c.a.ConfigurationClassEnhancer - @Bean method MyAppConfig.bridgePropertyPlaceholder is non-static and returns an object assignable to Spring's BeanFactoryPostProcessor interface. This will result in a failure to process annotations such as @Autowired, @Resource and @PostConstruct within the method's declaring @Configuration class. Add the 'static' modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details.