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


Solutions on the web

Solution icon of apache
via archiva-users by Watrous, Daniel, 1 year ago
No WebApplicationContext found: no ContextLoaderListener registered?

Solution icon of apache
via archiva-users by Watrous, Daniel, 1 year ago
No WebApplicationContext found: no ContextLoaderListener registered?

Solution icon of coderanch
No WebApplicationContext found: no ContextLoaderListener registered?

Solution icon of github
via GitHub by 4F2E4A2E
, 1 year ago
No WebApplicationContext found: no ContextLoaderListener registered?

Solution icon of github
via GitHub by pzrinscak
, 11 months ago
No WebApplicationContext found: no ContextLoaderListener registered?

Solution icon of github
via GitHub by pzrinscak
, 1 week ago
No WebApplicationContext found: no ContextLoaderListener registered?

Solution icon of googlegroups
via Google Groups by Dario Granato, 2 months ago
No WebApplicationContext found: no ContextLoaderListener registered?

Solution icon of java
via Java.net JIRA by sherryshen, 11 months ago
No WebApplicationContext found: no ContextLoaderListener registered?

Solution icon of sourceforge
via springframework by nodje
, 1 year ago
No WebApplicationContext found: no ContextLoaderListener registered?

Solution icon of stackoverflow
No WebApplicationContext found: no ContextLoaderListener registered?

Stack trace

java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
	at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:90)
	at org.apache.archiva.web.startup.ArchivaStartup.contextDestroyed(ArchivaStartup.java:101)
	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4011)
	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4615)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4512)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

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

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago