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.

Stack Overflow | A. McDaniel | 9 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0

    Springboot Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean

    Stack Overflow | 9 months ago | A. McDaniel
    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.
  2. 0
    samebug tip
    You need to use the spring-boot-maven-plugin in the build section of your pom.xml.
  3. 0

    Gradle: Build 'fat jar' with Spring Boot Dependencies

    Stack Overflow | 1 year ago | user1445967
    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

    springboot 1.4升级中遇到的奇葩问题 - 易极客

    com.cn | 7 months ago
    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.
  6. 0

    Adding spring-boot library produce "Unable to start EmbeddedWebApplicationContex"?

    Stack Overflow | 3 years ago | Lescott
    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.

  1. stigkj 2 times, last 3 weeks ago
  2. tomthomas 1 times, last 3 months ago
  3. treefolk 10 times, last 3 months ago
  4. kjhdofjosvs 2 times, last 3 months ago
  5. tvrmsmith 1 times, last 4 months ago
9 more registered users
79 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.springframework.context.ApplicationContextException

    Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.

    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.getEmbeddedServletContainerFactory()
  2. Spring Boot
    EmbeddedWebApplicationContext.onRefresh
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.getEmbeddedServletContainerFactory(EmbeddedWebApplicationContext.java:185)[APP-0.0.1-SNAPSHOT-jar-with-dependencies.jar:na]
    2. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:158)[APP-0.0.1-SNAPSHOT-jar-with-dependencies.jar:na]
    3. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:130)[APP-0.0.1-SNAPSHOT-jar-with-dependencies.jar:na]
    3 frames
  3. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:532)[APP-0.0.1-SNAPSHOT-jar-with-dependencies.jar:na]
    1 frame
  4. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)[APP-0.0.1-SNAPSHOT-jar-with-dependencies.jar:na]
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:760)[APP-0.0.1-SNAPSHOT-jar-with-dependencies.jar:na]
    3. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:360)[APP-0.0.1-SNAPSHOT-jar-with-dependencies.jar:na]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:306)[APP-0.0.1-SNAPSHOT-jar-with-dependencies.jar:na]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)[APP-0.0.1-SNAPSHOT-jar-with-dependencies.jar:na]
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)[APP-0.0.1-SNAPSHOT-jar-with-dependencies.jar:na]
    6 frames
  5. com.nggantt
    NgganttApplication.main
    1. com.nggantt.NgganttApplication.main(NgganttApplication.java:13)[APP-0.0.1-SNAPSHOT-jar-with-dependencies.jar:na]
    1 frame