SpringBoot Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFact

Posted 陈明羽

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SpringBoot Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFact相关的知识,希望对你有一定的参考价值。

SpringBoot

    Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.

解决:

  添加springboot-web的注解

        <dependency>  
            <groupId>org.springframework.boot</groupId>  
            <artifactId>spring-boot-starter-web</artifactId>  
        </dependency>

 

以上是关于SpringBoot Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFact的主要内容,如果未能解决你的问题,请参考以下文章

springboot报错Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFac

解决springboot启动失败问题:Unable to start embedded container;

SpringBoot - Unable to start ServletWebServerApplicationContext due to missing ServletWeb

SpringBoot使用Swagger2出现Unable to infer base url.

解决 Springboot Unable to build Hibernate SessionFactory @Column命名不起作用

记一次springboot项目,maven引发的悲剧(Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServ