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.

cnblogs.com | 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

    Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean. - 沧海一滴 - 博客园

    cnblogs.com | 9 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.
  2. 0
    samebug tip
    You need to use the spring-boot-maven-plugin in the build section of your pom.xml.
  3. 0

    Error : Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean

    Stack Overflow | 1 year 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring JAR missing embeddedservletcontainerfactory bean on start

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

    Spring Application doesn't start due to missing EmbeddedServletContainerFactory bean

    Stack Overflow | 11 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.

  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 4 months ago
  5. tvrmsmith 1 times, last 5 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)
    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.xiaoyi.sns
    Application.main
    1. com.xiaoyi.sns.service.Application.main(Application.java:18)
    1 frame