spring icon indicating copy to clipboard operation
spring copied to clipboard

WARN on simple app created from start.spring.io

Open snicoll opened this issue 8 years ago • 1 comments

Using 1.2.0 I get this warning on startup

2017-02-01 10:12:02.775 WARN 34902 --- [ main] o.s.c.a.ConfigurationClassPostProcessor : Cannot enhance @Configuration bean definition 'com.vaadin.spring.VaadinConfiguration' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'.

I haven't looked at the code but you might be able to easily remove the warning. In any case, having that loaded early isn't good.

snicoll avatar Feb 01 '17 09:02 snicoll

This issue still exists with vaadin-spring 3.0.0.

stadler avatar Feb 05 '18 11:02 stadler