更新时间:2021-10-20 17:00:06
Spring boot尝试启动Web服务器,但在类路径中未找到任何内容.尝试添加此依赖项
Spring boot try to start a web server, but did not findy any in the class path. Try to add this dependency
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>I Dont know</version
</dependency>
</dependencies>
顺便说一句,您pom看起来不像典型的弹簧靴pom!将其与 http://projects.spring.io/spring-boot/docs/README.html
ApplicationContextException:由于缺少ServletWebServerFactory bean而无法启动ServletWebServerApplicationContext
Spring Boot Test失败说,由于缺少ServletWebServerFactory bean而无法启动ServletWebServerApplicationContext
由于缺少 ReactiveWebServerFactory bean,无法启动 ReactiveWebApplicationContext
Spring Boot Web服务器在Eclipse中工作正常,无法在Server上启动:缺少EmbeddedServletContainerFactory bean
由于在 run 方法中加载上下文 xml 时缺少 EmbeddedServletContainerFactory bean,因此无法启动 EmbeddedWebApplicationContext
春季启动测试:由于缺少EmbeddedServletContainerFactory bean,无法启动EmbeddedWebApplicationContext
由于缺少ServletWebServerFactory bean,无法启动ServletWebServerApplicationContext