org.apache.catalina.LifecycleException

Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/docs]]

Solutions on the web9115

  • via Coderanch by Erika Bonilla, 2 months ago
    Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/docs]]
  • Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/docs]]
  • Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/docs]]
  • Stack trace

    • org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/docs]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:698) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1119) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1760) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader; at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:206) at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1852) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1117) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:769) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:305) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5166) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 11 more

    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 user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago