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 | 4 months ago
  1. 0

    Springboot Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean

    Stack Overflow | 4 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

    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.
  3. 0

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

    com.cn | 2 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

    Stack Overflow | 2 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.
  6. 0

    Spring Boot: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean

    Stack Overflow | 3 years ago | Kumite
    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. Adarro 1 times, last 4 months ago
  2. Nikolay Rybak 7 times, last 4 months ago
  3. schoetty 3 times, last 7 months ago
  4. fima 2 times, last 3 months ago
  5. Shadd518 1 times, last 4 months ago
3 more registered users
77 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