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
|
7月前
|
Java Spring
【Java】Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean
【Java】Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean
90 0
|
7月前
|
Java 数据库连接 数据库
【Java异常】Failed to determine a suitable driver class
【Java异常】Failed to determine a suitable driver class
185 0
|
Java 测试技术
出现Error creating bean with name与CONDITIONS EVALUATION REPORT问题
出现Error creating bean with name与CONDITIONS EVALUATION REPORT问题
300 0
出现Error creating bean with name与CONDITIONS EVALUATION REPORT问题
报错解决:Reason: Failed to determine a suitable driver class
报错解决:Reason: Failed to determine a suitable driver class
2456 0
报错解决:Reason: Failed to determine a suitable driver class
|
并行计算 PyTorch 算法框架/工具
CUDA unknown error - this may be due to an incorrectly set up environment 问题解决
CUDA unknown error - this may be due to an incorrectly set up environment 问题解决
CUDA unknown error - this may be due to an incorrectly set up environment 问题解决
|
Go iOS开发
The operation couldn’t be completed. Unable to log in with account 'myappleid'. An unexpected failure occurred while logging in (Underlying error code 1100).解决方法
The operation couldn’t be completed. Unable to log in with account 'myappleid'. An unexpected failure occurred while logging in (Underlying error code 1100).解决方法
352 0
|
Java
SpringBoot启动报错Unable to start EmbeddedWebApplicationContext due to missing
当启动SpringBoot时报错Unable to start EmbeddedWebApplicationContext due to missing应该如何做?本文带大家解决这个问题。
429 0
SpringBoot启动报错Unable to start EmbeddedWebApplicationContext due to missing
|
Java 应用服务中间件 Maven
Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean解决方案N种
Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean解决方案N种
313 0
why my cloudDatabaseconfig bean Initialization failed
why my cloudDatabaseconfig bean Initialization failed
92 0
why my cloudDatabaseconfig bean Initialization failed