javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet

Stack Overflow | terencefung | 2 months ago
  1. 0

    Deploying spring boot web sample, from war, to EAR, to websphere 8 using eclipse

    Stack Overflow | 2 months ago | terencefung
    javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet
  2. 0

    ContextLoaderListener does not recognise Spring Security

    Stack Overflow | 2 years ago | Renya
    java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
  3. 0

    Spring security in memory authentication does not work

    Stack Overflow | 1 year ago | NevyanovL
    java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Added Spring Security, now I'm getting "No WebApplicationContext found: no ContextLoaderListener registered?"

    Stack Overflow | 3 years ago
    java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
  6. 0

    Spring AbstractAnnotationConfigDispatcherServletInitializer No WebApplicationContext found: no ContextLoaderListener registered

    Stack Overflow | 3 years ago | user3089280
    java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?

    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: initializer not registered?

      at org.springframework.web.servlet.FrameworkServlet.findWebApplicationContext()
    2. Spring MVC
      HttpServletBean.init
      1. org.springframework.web.servlet.FrameworkServlet.findWebApplicationContext(FrameworkServlet.java:594)[spring-webmvc-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      2. org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:549)[spring-webmvc-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      3. org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:494)[spring-webmvc-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      4. org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)[spring-webmvc-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      4 frames
    3. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:161)[javax.j2ee.servlet.jar:na]
      1 frame
    4. WebSphere
      ContextManagerImpl.runAsSystem
      1. com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:342)[com.ibm.ws.webcontainer.jar:na]
      2. com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)[com.ibm.ws.webcontainer.jar:na]
      3. com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(ServletWrapper.java:1366)[com.ibm.ws.webcontainer.jar:na]
      4. com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:618)[com.ibm.ws.webcontainer.jar:na]
      5. com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:587)[com.ibm.ws.webcontainer.jar:na]
      6. com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:421)[com.ibm.ws.webcontainer.jar:na]
      7. com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)[com.ibm.ws.webcontainer.jar:na]
      8. com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)[com.ibm.ws.webcontainer.jar:na]
      9. com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:746)[com.ibm.ws.webcontainer.jar:na]
      10. com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:634)[com.ibm.ws.webcontainer.jar:na]
      11. com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:422)[com.ibm.ws.webcontainer.jar:na]
      12. com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:714)[com.ibm.ws.webcontainer.jar:na]
      13. com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1165)[com.ibm.ws.runtime.jar:na]
      14. com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1369)[com.ibm.ws.runtime.jar:na]
      15. com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)[com.ibm.ws.runtime.jar:na]
      16. com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:967)[com.ibm.ws.runtime.jar:na]
      17. com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:771)[com.ibm.ws.runtime.jar:na]
      18. com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1362)[com.ibm.ws.runtime.jar:na]
      19. com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2163)[com.ibm.ws.runtime.jar:na]
      20. com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:389)[com.ibm.ws.runtime.jar:na]
      21. com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)[com.ibm.ws.runtime.jar:na]
      22. com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:332)[com.ibm.ws.runtime.jar:na]
      23. com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:119)[com.ibm.ws.runtime.jar:na]
      24. com.ibm.ws.runtime.component.CompositionUnitMgrImpl$1.run(CompositionUnitMgrImpl.java:607)[com.ibm.ws.runtime.jar:na]
      25. com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5468)[com.ibm.ws.runtime.jar:na]
      26. com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5594)[com.ibm.ws.runtime.jar:na]
      26 frames
    5. com.ibm.ws
      SecurityContext.runAsSystem
      1. com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)[com.ibm.ws.runtime.jar:na]
      1 frame
    6. WebSphere
      ApplicationMgrImpl.startApplication
      1. com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:621)[com.ibm.ws.runtime.jar:na]
      2. com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:565)[com.ibm.ws.runtime.jar:na]
      3. com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1252)[com.ibm.ws.runtime.jar:na]
      3 frames
    7. Java RT
      AccessController.doPrivileged
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)[na:1.6.0]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)[na:1.6.0]
      4. java.lang.reflect.Method.invoke(Method.java:611)[na:1.6.0]
      5. sun.reflect.misc.Trampoline.invoke(MethodUtil.java:69)[na:1.6.0]
      6. sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)[na:na]
      7. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)[na:1.6.0]
      8. java.lang.reflect.Method.invoke(Method.java:611)[na:1.6.0]
      9. sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:272)[na:1.6.0]
      10. javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1152)[na:1.6.0]
      11. java.security.AccessController.doPrivileged(AccessController.java:298)[na:na]
      11 frames
    8. com.ibm.oti
      CheckedAccessControlContext.securityCheck
      1. com.ibm.oti.security.CheckedAccessControlContext.securityCheck(CheckedAccessControlContext.java:30)[na:2.6 (04-09-2014)]
      1 frame
    9. Java RT
      JmxMBeanServer.invoke
      1. sun.misc.JavaSecurityAccessWrapper.doIntersectionPrivilege(JavaSecurityAccessWrapper.java:41)[na:1.6.0]
      2. javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1146)[na:1.6.0]
      3. javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:999)[na:1.6.0]
      4. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:847)[na:1.6.0]
      5. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:783)[na:1.6.0]
      5 frames
    10. WebSphere
      AdminServiceImpl.invoke
      1. com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1335)[com.ibm.ws.admin.core.jar:na]
      2. com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)[bootstrap.jar:WAS80.SERV1 [cf091421.01]
      3. com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1228)[com.ibm.ws.admin.core.jar:na]
      3 frames
    11. com.ibm.ws
      SSLReadServiceContext$SSLReadCompletedCallback.complete
      1. com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:181)[com.ibm.ws.admin.core.jar:na]
      2. com.ibm.ws.management.connector.ipc.CallRouter.route(CallRouter.java:247)[com.ibm.ws.admin.core.jar:na]
      3. com.ibm.ws.management.connector.ipc.IPCConnectorInboundLink.doWork(IPCConnectorInboundLink.java:360)[com.ibm.ws.admin.core.jar:na]
      4. com.ibm.ws.management.connector.ipc.IPCConnectorInboundLink$IPCConnectorReadCallback.complete(IPCConnectorInboundLink.java:602)[com.ibm.ws.admin.core.jar:na]
      5. com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)[com.ibm.ws.runtime.jar:na]
      5 frames
    12. WebSphere
      AioReadCompletionListener.futureCompleted
      1. com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)[com.ibm.ws.runtime.jar:na]
      1 frame
    13. com.ibm.io
      ResultHandler$2.run
      1. com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)[com.ibm.ws.runtime.jar:na]
      2. com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)[com.ibm.ws.runtime.jar:na]
      3. com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)[com.ibm.ws.runtime.jar:na]
      4. com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)[com.ibm.ws.runtime.jar:na]
      5. com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)[com.ibm.ws.runtime.jar:na]
      6. com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)[com.ibm.ws.runtime.jar:na]
      6 frames
    14. com.ibm.ws
      ThreadPool$Worker.run
      1. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1702)[com.ibm.ws.runtime.jar:na]
      1 frame