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

    Spring Boot Project cannot run by IntelliJ IDE

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

    Error : Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean

    Stack Overflow | 10 months ago | Cyrex
    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

    Spring JAR missing embeddedservletcontainerfactory bean on start

    Stack Overflow | 9 months ago | Qaz
    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 Application doesn't start due to missing EmbeddedServletContainerFactory bean

    Stack Overflow | 7 months ago | Olaru Vlad
    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

    SpringBoot refuse to start with idea

    Stack Overflow | 6 months ago | Obscur Moirage
    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)
    2. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:158)
    3. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:130)
    3 frames
  3. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:532)
    1 frame
  4. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)
    3. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1191)
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1180)
    6 frames
  5. com.rentacoder
    WebApplication.main
    1. com.rentacoder.WebApplication.main(WebApplication.java:19)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  7. org.springframework.boot
    RestartLauncher.run
    1. org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
    1 frame