Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.

简介: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.

又双叒叕出错了,我们才解决完Springboot项目不能启动问题,就遇到了启动时报错的问题


这个问题其实很简单,从报错信息Missing ServletWebServerFactory,我们就可以看出来这实际上是一个跟Tomcat有关的问题



查看Pom文件发现,多引入了Tomcat的依赖,导致和IDEA内嵌Tomcat冲突,注释掉后问题解决


相关文章
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
|
Java API Spring
Gateway网关报错Unable to start ServletWebServerApplicationContext due to missing ServletWebServer
Gateway网关报错Unable to start ServletWebServerApplicationContext due to missing ServletWebServer
277 0
|
9月前
|
开发者 iOS开发
Unable to boot device due to insufficient system resources
Unable to boot device due to insufficient system resources
85 1
|
Java Spring
【Java】Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean
【Java】Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean
300 0
|
Java Maven
An attempt was made to call a method that does not exist. The attempt was made from the following
An attempt was made to call a method that does not exist. The attempt was made from the following
518 0
|
网络协议 关系型数据库 Linux
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
204 0
报错解决:Reason: Failed to determine a suitable driver class
报错解决:Reason: Failed to determine a suitable driver class
2580 0
报错解决:Reason: Failed to determine a suitable driver class