CloudOpting / cloudopting-manager

The cloudopting core manager
MIT License
10 stars 7 forks source link

Check static potential problem #260

Closed gioppoluca closed 8 years ago

gioppoluca commented 8 years ago

At the start this is a warning: [WARN] org.springframework.context.annotation.ConfigurationClassEnhancer - @Bean method EnableEncryptablePropertySourcesConfiguration.enable EncryptablePropertySourcesPostProcessor 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 @Configuratio n class. Add the 'static' modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details.

guidospadotto-profesia commented 8 years ago

See this: https://github.com/ulisesbocchio/jasypt-spring-boot/issues/3 The author himself ignores it and suggests a workaround.