Vaadin Liferay Portlet Error In Pulling Spring Context Beans

Hi all,

I am trying to develop a Vaadin Portlet deployed on a Liferay server, using Spring Context and Maven.
However, when I pull in the Beans from the Spring context I get a

I had a very similar project working on Vaadin 6 (but without using Liferay)

Anyway, here are my properties in the pom.xml



<?xml version="1.0"?>
<web-app version="2.4" xmlns=""
    <display-name>My Vaadin portlet</display-name>




<?xml version="1.0" encoding="UTF-8"?>

<context:annotation-config />
<context:component-scan base-package="XXX.XXX.XXXXXXXXX" />
[/code]Finally, a snippet of the class [code] public class MyPortletUI extends UI {
private static Log log = LogFactoryUtil.getLog(MyPortletUI.class);

protected void init(VaadinRequest request) {
    SpringContextHelper helper = new SpringContextHelper(VaadinServlet.getCurrent().getServletContext());

[/code]The application fails on line 9 of the class

Some observations:

  • The portlet works great without trying to use the SpringContextHelper
  • Used the exact code in the Vaadin 7 example for the SpringContextHelper
  • I get no errors when deploying the portlet, I can see the beans being created in the console.

Please help!! And let me know if you have any questions.

Sorry for the blast from the past, but did you ever solve this?