java.lang.IllegalStateException

No WebApplicationContext found: no ContextLoaderListener registered?

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web61

  • via Unknown by Rene Medellin,
  • via Unknown by Rene Medellin,
  • Stack trace

    • java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered? at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:90)[talledLocalContainer] at org.springframework.web.context.support.HttpRequestHandlerServlet.init(HttpRequestHandlerServlet.java:56)[talledLocalContainer] at javax.servlet.GenericServlet.init(GenericServlet.java:212)[talledLocalContainer] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)[talledLocalContainer] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)[talledLocalContainer] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4149)[talledLocalContainer] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4458)[talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)[talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)[talledLocalContainer] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)[talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850)[talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724)[talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493)[talledLocalContainer] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)[talledLocalContainer] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)[talledLocalContainer] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)[talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)[talledLocalContainer] at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)[talledLocalContainer] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)[talledLocalContainer] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)[talledLocalContainer] at org.apache.catalina.core.StandardService.start(StandardService.java:516)[talledLocalContainer] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)[talledLocalContainer] at org.apache.catalina.startup.Catalina.start(Catalina.java:583)[talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597)[talledLocalContainer] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)[talledLocalContainer] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    mortalman7mortalman7
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,