Unable to start ServletWebServerApplicationContext due to missing ServletWeb
<dependency> <groupId>org.springframework.bootgroupId> <artifactId>spring-boot-starter-webartifactId> dependency>
翻译过来意思就是:缺少ServletWeb,无法启动ServletWebServerApplicationContext,如上在pom.xml文件添加依赖.
原文:https://www.cnblogs.com/lbeaner/p/14761739.html