spring
spring copied to clipboard
WARN on simple app created from start.spring.io
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.
This issue still exists with vaadin-spring 3.0.0.