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

    Spring Boot Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean

    Stack Overflow | 4 months ago | SheppardDigital
    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

    Spring boot error :Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean

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

    Spring boot with IBM websphere application server

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

    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.
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:183)[NatLocApp.jar:na]
    2. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:156)[NatLocApp.jar:na]
    3. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:130)[NatLocApp.jar:na]
    3 frames
  3. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:531)[NatLocApp.jar:na]
    1 frame
  4. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)[NatLocApp.jar:na]
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)[NatLocApp.jar:na]
    3. org.springframework.boot.SpringApplication.doRun(SpringApplication.java:347)[NatLocApp.jar:na]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:295)[NatLocApp.jar:na]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1112)[NatLocApp.jar:na]
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1101)[NatLocApp.jar:na]
    6 frames
  5. com.nationallocums
    Application.main
    1. com.nationallocums.Application.main(Application.java:13)[NatLocApp.jar:na]
    1 frame