java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?

archiva-users | Watrous, Daniel | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: Can't get 1.4 war to deploy

    archiva-users | 3 years ago | Olivier Lamy
    java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
  2. 0

    Can't get 1.4 war to deploy

    archiva-users | 3 years ago | Watrous, Daniel
    java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
  3. 0

    RE: Can't get 1.4 war to deploy

    archiva-users | 3 years ago | Watrous, Daniel
    java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RE: Can't get 1.4 war to deploy

    archiva-users | 3 years ago | Watrous, Daniel
    java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
  6. 0

    Re: Can't get 1.4 war to deploy

    archiva-users | 3 years ago | Olivier Lamy
    java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?

  1. mortalman7 1 times, last 7 months ago
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    No WebApplicationContext found: no ContextLoaderListener registered?

    at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext()
  2. Spring
    WebApplicationContextUtils.getRequiredWebApplicationContext
    1. org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:90)
    1 frame
  3. org.apache.archiva
    ArchivaStartup.contextDestroyed
    1. org.apache.archiva.web.startup.ArchivaStartup.contextDestroyed(ArchivaStartup.java:101)
    1 frame
  4. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4011)
    2. org.apache.catalina.core.StandardContext.stop(StandardContext.java:4615)
    3. org.apache.catalina.core.StandardContext.start(StandardContext.java:4512)
    4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
    7. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
    8. org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
    9. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
    10. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
    11. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
    12. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    13. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    14. org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
    15. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    16. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    17. org.apache.catalina.core.StandardService.start(StandardService.java:516)
    18. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    19. org.apache.catalina.startup.Catalina.start(Catalina.java:593)
    19 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  6. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    2 frames