1 Reply Latest reply on Apr 25, 2016 10:56 AM by Brett.Smith

    HTTP Status 500 - No WebApplicationContext found: no ContextLoaderListener registered?

    Rookie

      HTTP Status 500 - No WebApplicationContext found: no ContextLoaderListener registered?


      type Exception report

      message No WebApplicationContext found: no ContextLoaderListener registered?

      description The server encountered an internal error that prevented it from fulfilling this request.

      exception

      javax.servlet.ServletException: No WebApplicationContext found: no ContextLoaderListener registered? javax.faces.webapp.FacesServlet.service(FacesServlet.java:325) 

      root cause

      java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered? org.springframework.web.jsf.FacesContextUtils.getRequiredWebApplicationContext(FacesContextUtils.java:83) org.springframework.web.jsf.el.SpringBeanFacesELResolver.getWebApplicationContext(SpringBeanFacesELResolver.java:91) org.springframework.web.jsf.el.SpringBeanFacesELResolver.getBeanFactory(SpringBeanFacesELResolver.java:79) org.springframework.beans.factory.access.el.SpringBeanELResolver.getValue(SpringBeanELResolver.java:50) com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176) com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203) org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:72) org.apache.el.parser.AstValue.getValue(AstValue.java:161) org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185) com.sun.faces.facelets.el.ELText$ELTextVariable.writeText(ELText.java:224) com.sun.faces.facelets.compiler.TextInstruction.write(TextInstruction.java:85) com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:82) com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:183) javax.faces.component.UIComponent.encodeAll(UIComponent.java:1655) javax.faces.component.UIComponent.encodeAll(UIComponent.java:1655) com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399) com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131) javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273) com.wavelink.amc.web.jsf.AvalancheViewHandler.renderView(AvalancheViewHandler.java:77) com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121) com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) javax.faces.webapp.FacesServlet.service(FacesServlet.java:313) 

      note The full stack trace of the root cause is available in the Apache Tomcat/7.0.35 logs.