SpringBoot Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.
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>