Hello,
I use Vaadin 7.5.6 and Vaadin Spring 1.0.0.beta1.
I need autowire @VaadinSessionScope bean to @Scope(“singleton”) bean.
When I start my application I get the exception:
Injection of autowired dependencies failed; nested exception
is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: _SessionBean_ _SingletonBean_.sessionBean; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'sessionBean': Scope 'vaadin-session' is not active for the current thread;
consider defining a scoped proxy for this bean if you intend to refer to it
from a singleton; nested exception is
java.lang.IllegalStateException: No VaadinSession bound to current thread
Hope it’s clear enough, can you point me in the right direction?