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.
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.