Vaadin 6, Spring and Portlets


I try to get the example from the
for integrating vaadin and spring with Autowired, etc working within a vaadin portlet. But I’m getting this error:

11:12:46,866 ERROR [http-bio-8080-exec-19]
 java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.

What am I doing wrong here? The background is, that I want to turn an existing Vaadin application into a protlet, and in that application the spring “pattern” from the wiki is used.

Thanks for help