org.springframework.context.ApplicationContextException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • spring boot启动报错~~~ - 开源中国社区
    via by Unknown author,
  • Error running Spring boot
    via Stack Overflow by user2435182
    ,
  • GitHub comment 49#38756258
    via GitHub by tomy29
    ,
    • org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:137)[spring-boot-1.4.1.BUILD-20160913.072636-76.jar:1.4.1.BUILD-SNAPSHOT] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:535)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)[spring-boot-1.4.1.BUILD-20160913.072636-76.jar:1.4.1.BUILD-SNAPSHOT] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)[spring-boot-1.4.1.BUILD-20160913.072636-76.jar:1.4.1.BUILD-SNAPSHOT] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)[spring-boot-1.4.1.BUILD-20160913.072636-76.jar:1.4.1.BUILD-SNAPSHOT] at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)[spring-boot-1.4.1.BUILD-20160913.072636-76.jar:1.4.1.BUILD-SNAPSHOT] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)[spring-boot-1.4.1.BUILD-20160913.072636-76.jar:1.4.1.BUILD-SNAPSHOT] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)[spring-boot-1.4.1.BUILD-20160913.072636-76.jar:1.4.1.BUILD-SNAPSHOT] at sino.test.SampleController.main(SampleController.java:23)[classes/:na] Caused by: org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.initialize(TomcatEmbeddedServletContainer.java:116)[spring-boot-1.4.1.BUILD-20160913.072636-76.jar:1.4.1.BUILD-SNAPSHOT] at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.<init>(TomcatEmbeddedServletContainer.java:83)[spring-boot-1.4.1.BUILD-20160913.072636-76.jar:1.4.1.BUILD-SNAPSHOT] at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.getTomcatEmbeddedServletContainer(TomcatEmbeddedServletContainerFactory.java:530)[spring-boot-1.4.1.BUILD-20160913.072636-76.jar:1.4.1.BUILD-SNAPSHOT] at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.getEmbeddedServletContainer(TomcatEmbeddedServletContainerFactory.java:177)[spring-boot-1.4.1.BUILD-20160913.072636-76.jar:1.4.1.BUILD-SNAPSHOT] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:164)[spring-boot-1.4.1.BUILD-20160913.072636-76.jar:1.4.1.BUILD-SNAPSHOT] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:134)[spring-boot-1.4.1.BUILD-20160913.072636-76.jar:1.4.1.BUILD-SNAPSHOT] ... 8 more Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardServer[-1]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.catalina.startup.Tomcat.start(Tomcat.java:356)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.initialize(TomcatEmbeddedServletContainer.java:97)[spring-boot-1.4.1.BUILD-20160913.072636-76.jar:1.4.1.BUILD-SNAPSHOT] ... 13 more Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Tomcat]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:791)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)[tomcat-embed-core-8.5.4.jar:8.5.4] ... 15 more Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:158)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)[tomcat-embed-core-8.5.4.jar:8.5.4] ... 17 more Caused by: org.apache.catalina.LifecycleException: A child container failed during start at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)[tomcat-embed-core-8.5.4.jar:8.5.4] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)[tomcat-embed-core-8.5.4.jar:8.5.4] ... 19 more

    Users with the same issue

    Matty
    7 times, last one,
    batwalrus76
    3 times, last one,
    Nikolay Rybak
    2 times, last one,
    stigkj
    1 times, last one,
    Unknown visitor1 times, last one,
    81 more bugmates