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


Solutions on the web

Solution icon of web
via oschina.net by Unknown author, 9 months ago
Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat

Solution icon of github
Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat

Solution icon of github
via GitHub by genuinefafa
, 2 months ago
Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat

Solution icon of github
via GitHub by timwebster9
, 1 year ago
Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat

Solution icon of github
via GitHub by btiernay
, 1 year ago
Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat

Solution icon of github
via GitHub by wilkinsona
, 1 year ago
Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat

Solution icon of github
via GitHub by kkrgwbj
, 2 weeks ago
Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat

Solution icon of github
Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat

Solution icon of github
Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat

Solution icon of github
Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat

Stack trace

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

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

7 times, 3 months ago
3 times, 4 months ago
2 times, 7 months ago
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
81 more bugmates