springboot启动报错Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerF
如上错误将
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<!--<scope>provided</scope>-->
</dependency>
scope注释
刷新maven依赖可正常运行