Foros de discusión

Portlets embedded in theme are crashed when SWF portlet on page

thumbnail
Mihail Zheludev, modificado hace 11 años.

Portlets embedded in theme are crashed when SWF portlet on page

Junior Member Mensajes: 43 Fecha de incorporación: 8/01/13 Mensajes recientes
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:

11:51:20,754 ERROR [PortletRequestDispatcherImpl:108] org.springframework.web.util.NestedServletException: View rendering failed; nested exception is java.lang.ClassCastException: org.springframework.web.contex
t.support.GenericWebApplicationContext cannot be cast to org.springframework.web.context.WebApplicationContext
org.springframework.web.util.NestedServletException: View rendering failed; nested exception is java.lang.ClassCastException: org.springframework.web.context.support.GenericWebApplicationContext cannot be cast
to org.springframework.web.context.WebApplicationContext
        at org.springframework.web.servlet.ViewRendererServlet.processRequest(ViewRendererServlet.java:95)
        at org.springframework.web.servlet.ViewRendererServlet.doGet(ViewRendererServlet.java:66)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)


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

Any ideas?