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 | psypsy | 3 years ago
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

    Spring Boot Jsf/Primefaces doesn´t work

    Stack Overflow | 3 years ago | psypsy
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
  2. 0

    SpringBoot unable to start embedded tomcat

    Stack Overflow | 8 months ago | Raj
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
  3. 0

    SpringBoot startup :Unable to start embedded Tomcat

    Stack Overflow | 2 months ago | Leo_Wang
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to build an executable jar for a gradle spring-boot project

    Stack Overflow | 2 years ago | Mild.F
    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

    spring-boot-security annotating my SecurityConfig of @Configuration gives this error

    Stack Overflow | 3 years ago | den.isahac
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat

  1. tvrmsmith 2 times, last 3 months ago
  2. stigkj 1 times, last 3 months ago
15 unregistered visitors
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:1131)
    2. org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    4. org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
    5. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    6. org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:731)
    7. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    8. org.apache.catalina.startup.Tomcat.start(Tomcat.java:341)
    8 frames
  3. Spring Boot
    EmbeddedWebApplicationContext.onRefresh
    1. org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.initialize(TomcatEmbeddedServletContainer.java:79)
    2. org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.<init>(TomcatEmbeddedServletContainer.java:69)
    3. org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.getTomcatEmbeddedServletContainer(TomcatEmbeddedServletContainerFactory.java:270)
    4. org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.getEmbeddedServletContainer(TomcatEmbeddedServletContainerFactory.java:145)
    5. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:159)
    6. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:132)
    6 frames
  4. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:476)
    1 frame
  5. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:120)
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:648)
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:311)
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:909)
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:898)
    5 frames
  6. hello
    Application.main
    1. hello.Application.main(Application.java:25)
    1 frame