Announcement Announcement Module
Collapse
No announcement yet.
java.lang.ClassCastException: org.apache.tiles.BasicAttributeContext Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • java.lang.ClassCastException: org.apache.tiles.BasicAttributeContext

    Hi Guys

    I am trying to run an application which has Spring MVC as the view part of architecture.

    The control passes from the controller class to the JSP and this error occurs on the jsp page. Please help me with this. What could be the cause for this?
    Except for this jsp page all other jsps work.

    Below is the compltere stacktrace that comes on the jsp :

    java.lang.ClassCastException: org.apache.tiles.BasicAttributeContext
    at org.apache.tiles.impl.BasicTilesContainer.popConte xt(BasicTilesContainer.java:499)
    at org.apache.tiles.impl.BasicTilesContainer.render(B asicTilesContainer.java:645)
    at org.apache.tiles.impl.BasicTilesContainer.render(B asicTilesContainer.java:626)
    at org.apache.tiles.impl.BasicTilesContainer.render(B asicTilesContainer.java:322)
    at org.springframework.web.servlet.view.tiles2.TilesV iew.renderMergedOutputModel(TilesView.java:124)
    at org.springframework.web.servlet.view.AbstractView. render(AbstractView.java:250)
    at org.springframework.web.servlet.DispatcherServlet. render(DispatcherServlet.java:1060)
    at org.springframework.web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:798)
    at org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:716)
    at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:644)
    at org.springframework.web.servlet.FrameworkServlet.d oGet(FrameworkServlet.java:549)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
    at weblogic.servlet.internal.StubSecurityHelper$Servl etServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invok eServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute( ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(Tail Filter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter (FilterChainImpl.java:42)
    at org.springframework.web.filter.CharacterEncodingFi lter.doFilterInternal(CharacterEncodingFilter.java :88)
    at org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:76)
    at weblogic.servlet.internal.FilterChainImpl.doFilter (FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$Ser vletInvocationAction.run(WebAppServletContext.java :3402)
    at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Un known Source)
    at weblogic.servlet.internal.WebAppServletContext.sec uredExecute(WebAppServletContext.java:2140)
    at weblogic.servlet.internal.WebAppServletContext.exe cute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(S ervletRequestImpl.java:1398)
    at weblogic.work.ExecuteThread.execute(ExecuteThread. java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java :172)



    Thank You
Working...
X