Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
Mikhail Zheludev
Portlets embedded in theme are crashed when SWF portlet on page
6. Juli 2013 01:39

Mikhail Zheludev

Rang: Junior Member

Nachrichten: 43

Eintrittsdatum: 8. Januar 2013

Neue Beiträge

I have embedded in theme portlet with $theme.runtime() All works fine when I use Spring Portlet MVC on every page. But if I set up on page Spring Webflow portlet - then my portlet embedded in theme crashed with next stack trace:

 111:51:20,754 ERROR [PortletRequestDispatcherImpl:108] org.springframework.web.util.NestedServletException: View rendering failed; nested exception is java.lang.ClassCastException: org.springframework.web.contex cannot be cast to org.springframework.web.context.WebApplicationContext
 3org.springframework.web.util.NestedServletException: View rendering failed; nested exception is java.lang.ClassCastException: cannot be cast
 4to org.springframework.web.context.WebApplicationContext
 5        at org.springframework.web.servlet.ViewRendererServlet.processRequest(
 6        at org.springframework.web.servlet.ViewRendererServlet.doGet(
 7        at javax.servlet.http.HttpServlet.service(
 8        at javax.servlet.http.HttpServlet.service(
 9        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
10        at org.apache.catalina.core.ApplicationFilterChain.doFilter(

But another Srping MVC portlet directly set up on page near SWF portlet is rendering fine.

Any ideas?

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!