Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Update MainConfig.java #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

brizius
Copy link

@brizius brizius commented Jul 15, 2014

WARN : org.springframework.context.annotation.ConfigurationClassEnhancer - @bean method MainConfig.propertyPlaceHolderConfigurer 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

WARN : org.springframework.context.annotation.ConfigurationClassEnhancer - @bean method MainConfig.propertyPlaceHolderConfigurer 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant