Unable to start embedded container; nested exception is org.springframework.context.ApplicationContextException: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.

解决方法:

将pom.xml中tomcat下的<scope>provided</scope>这一行注释掉

在Idea中执行springboot项目报错Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletCo

 

相关文章:

  • 2021-12-13
  • 2022-12-23
  • 2021-07-01
  • 2021-10-12
  • 2021-08-04
猜你喜欢
  • 2021-12-19
  • 2021-12-11
  • 2022-01-12
  • 2021-07-27
  • 2021-12-24
  • 2022-12-23
  • 2022-01-16
相关资源
相似解决方案