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 | user5939935 | 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
    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

    Error when using Crypto on Spring-ws with Wss4jSecurityInterceptor

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

    Grails 3: Custom Application class for integration tests

    Stack Overflow | 2 years ago | rainerfrey
    java.lang.IllegalStateException: Failed to load ApplicationContext

  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. rp 1 times, last 4 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:183)
    2. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:156)
    3. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:130)
    3 frames