标签:main方法 cto webserver ble spring miss tap pid framework
在Spring Boot项目中,出现这个错误有两种情况:
一,在main方法所在的类忘记添加@SpringBootApplication
二,缺少依赖,添加即可
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>
Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean
标签:main方法 cto webserver ble spring miss tap pid framework
原文地址:https://www.cnblogs.com/felixzh/p/12554562.html