org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

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

    Error running an Apache Tomcat servlet written in Kotlin

    Stack Overflow | 7 months ago | Water Cooler v2
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
  2. 0

    Spring MVC can't start application

    Stack Overflow | 1 year ago | KofHein
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
  3. 0

    Java Tomcat cannot deploy

    Stack Overflow | 1 year ago | TeodorKolev
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassNotFoundException: org.springframework.core.io.Resource when intellij idea deploy maven spring mvc web project on tomcat7

    Stack Overflow | 9 months ago | Christopher.Wang
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/vstar]]
  6. 0

    java - maven使用sfl4j时报错Failed to start component StandardEngine[Catalina - SegmentFault

    segmentfault.com | 6 months ago
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
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.ClassNotFoundException

    kotlin.TypeCastException

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
  2. Glassfish Core
    WebappClassLoaderBase.loadClass
    1. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1332)
    2. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1166)
    2 frames
  3. Java RT
    Class.getDeclaredFields
    1. java.lang.Class.getDeclaredFields0(Native Method)
    2. java.lang.Class.privateGetDeclaredFields(Class.java:2583)
    3. java.lang.Class.getDeclaredFields(Class.java:1916)
    3 frames
  4. Glassfish Core
    HostConfig.manageApp
    1. org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106)
    2. org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:256)
    3. org.apache.catalina.startup.WebAnnotationSet.loadApplicationFilterAnnotations(WebAnnotationSet.java:105)
    4. org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:64)
    5. org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:335)
    6. org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:782)
    7. org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:306)
    8. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)
    9. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    10. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5202)
    11. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    12. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    13. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    14. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    15. org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1696)
    15 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  6. Embedded GlassFish Web
    BaseModelMBean.invoke
    1. org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
    1 frame
  7. Java RT
    JmxMBeanServer.invoke
    1. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    2. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    2 frames
  8. Embedded GlassFish Web
    MBeanFactory.createStandardContext
    1. org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:484)
    2. org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:433)
    2 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  10. Embedded GlassFish Web
    BaseModelMBean.invoke
    1. org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
    1 frame
  11. Java RT
    Thread.run
    1. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    2. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    3. javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1471)
    4. javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
    5. javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1312)
    6. javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1404)
    7. javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:832)
    8. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    9. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    10. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    11. java.lang.reflect.Method.invoke(Method.java:497)
    12. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
    13. sun.rmi.transport.Transport$1.run(Transport.java:200)
    14. sun.rmi.transport.Transport$1.run(Transport.java:197)
    15. java.security.AccessController.doPrivileged(Native Method)
    16. sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    17. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
    18. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
    19. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(TCPTransport.java:683)
    20. java.security.AccessController.doPrivileged(Native Method)
    21. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
    22. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    23. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    24. java.lang.Thread.run(Thread.java:745)
    24 frames