#EmbeddedServletContainerFactory

Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.

springboot项目启动报错UnabletostartEmbeddedWebApplicationContextduetomissingEmbeddedServletContainerFactorybean.最近开始使用idea,上来就这么一个错误。搜索总结如下:我的依赖是这样的:provided依赖只有在当JDK...

Error creating bean with name 'tomcatEmbeddedServletContainerFactory ' (or a BeanPostProcessor involved) returned null

 org.springframework.boot.autoconfigure.web.EmbeddedServletContainerAutoConfiguration$EmbeddedTomcatorg.springframework.boot.autoconfigure.web.EmbeddedServ...