org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat

Stack Overflow | Haneep CR | 3 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    You could be missing na annotation (@Service or @Component) or the <bean> definition in the xml. Also, look if the class where your implementation is located is properly scanned (check "<context:component-scan base-package=")
    via goo.gl
  2. 0

    Spring boot with IBM websphere application server

    Stack Overflow | 1 year ago | devig
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.context.ApplicationContextException: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.
  3. 0

    Spring boot conflicting bean definition exception

    Stack Overflow | 1 month ago | aayushi
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.context.ApplicationContextException: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NotReadablePropertyException when tomcat startup with Spring Boot - scriptscoop.com

    scriptscoop.com | 2 years ago
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
  6. 0

    NotReadablePropertyException when tomcat startup with Spring Boot

    Stack Overflow | 2 years ago
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
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. org.apache.catalina.LifecycleException

    A child container failed during start

    at org.apache.catalina.core.ContainerBase.startInternal()
  2. Glassfish Core
    Tomcat.start
    1. org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)[tomcat-embed-core-8.5.6.jar:8.5.6]
    2. org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)[tomcat-embed-core-8.5.6.jar:8.5.6]
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)[tomcat-embed-core-8.5.6.jar:8.5.6]
    4. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)[tomcat-embed-core-8.5.6.jar:8.5.6]
    5. org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)[tomcat-embed-core-8.5.6.jar:8.5.6]
    6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)[tomcat-embed-core-8.5.6.jar:8.5.6]
    7. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)[tomcat-embed-core-8.5.6.jar:8.5.6]
    8. org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:791)[tomcat-embed-core-8.5.6.jar:8.5.6]
    9. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)[tomcat-embed-core-8.5.6.jar:8.5.6]
    10. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)[tomcat-embed-core-8.5.6.jar:8.5.6]
    11. org.apache.catalina.startup.Tomcat.start(Tomcat.java:356)[tomcat-embed-core-8.5.6.jar:8.5.6]
    11 frames
  3. Spring Boot
    EmbeddedWebApplicationContext.onRefresh
    1. org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.initialize(TomcatEmbeddedServletContainer.java:96)[spring-boot-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    2. org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.initialize(TomcatEmbeddedServletContainer.java:115)[spring-boot-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    3. org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.<init>(TomcatEmbeddedServletContainer.java:82)[spring-boot-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    4. org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.getTomcatEmbeddedServletContainer(TomcatEmbeddedServletContainerFactory.java:535)[spring-boot-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    5. org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.getEmbeddedServletContainer(TomcatEmbeddedServletContainerFactory.java:177)[spring-boot-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    6. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:164)[spring-boot-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    7. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:134)[spring-boot-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    8. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:137)[spring-boot-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    8 frames
  4. com.relevancelab.imdg
    Application.main
    1. com.relevancelab.imdg.Application.main(Application.java:17)[classes/:na]
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_121]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_121]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_121]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_121]
    4 frames
  6. Spring Boot Maven Plugin
    AbstractRunMojo$LaunchRunner.run
    1. org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:507)[spring-boot-maven-plugin-1.4.3.RELEASE.jar:1.4.3.RELEASE]
    1 frame
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_121]
    1 frame