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 | SimonTempler | 8 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
    samebug tip
    You need to use the spring-boot-maven-plugin in the build section of your pom.xml.
  2. 0
    samebug tip
    To create an executable jar we need to add the spring-boot-maven-plugin to our pom.xml
    via spring.io
  3. 0
    samebug tip
    Use 'application.sources' instead of returning a new Application in the SpringBootServletInitializer.configure function.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring boot : access rest api from @Scheduled method

    Stack Overflow | 2 years ago | Yuki Yoshida
    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 : access rest api from @Scheduled method - scriptscoop.com

    iswwwup.com | 2 years 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.

  1. tomthomas 1 times, last 2 months ago
  2. treefolk 10 times, last 2 months ago
  3. kjhdofjosvs 2 times, last 3 months ago
  4. rp 1 times, last 3 months ago
  5. tvrmsmith 1 times, last 4 months ago
8 more registered users
78 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 embedded container; nested exception is org.springframework.context.ApplicationContextException: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.

    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh()
  2. Spring Boot
    EmbeddedWebApplicationContext.onRefresh
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:133)[spring-boot-1.3.5.RELEASE.jar!/:1.3.5.RELEASE]
    1 frame