当前位置:网站首页>Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean
Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean
2022-06-10 11:12:00 【csx_ zzh】
**org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:163)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:577)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:338)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1332)
at com.dianyu.cfsn.cloud.gateway.GatewayApplication.main(GatewayApplication.java:18)
Caused by: org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getWebServerFactory(ServletWebServerApplicationContext.java:210)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:180)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:160)
... 8 common frames omitted
**
The reason is dependence spring-webmvc,WebServer It's empty , Delete spring-webmvc Program running normally
边栏推荐
- Golang cli framework --cobra
- 你的下一台电脑何必是电脑,探索不一样的远程操作
- 企评家分不同维度解析:湖南长城科技信息有限公司企业成长性
- Recursive traversal and non recursive traversal of binary tree (C language version)
- Analysis: a stable currency is not a "stable currency", but a product in essence
- 2022年Z-Wave生态系统状态报告
- 切换npm的淘宝镜像
- Is there any difference between exception and error
- Fragment implements the switch of the bottom navigation bar without refreshing
- 【通信协议】UART,I2C,SPI复习
猜你喜欢

SqlSessionFactory和SqlSession详解

It's more convenient to keep warm water. It's a small artifact for daily milk brewing. It's a colorful jingle wireless portable milk mixer

NeRF:用深度学习完成3D渲染任务的蹿红

Music retrieval system based on SSH

Modstartcms enterprise content site building system (supporting laravel9) v4.1.0

redis 面经详解

杰理之BLE timer 时钟源不能选 OSC 晶振【篇】

Detailed explanation of redis

指令集与应敏科技达成战略合作,国产原创物联网操作系统助力电力检测「智慧化」...

子网划分不会?瑞哥带你深入理解IP地址,手把手教你子网划分!
随机推荐
Introduction to splishsplash architecture
js通过递归实现树形数据操作
Kubernetes setting master schedulable and non schedulable
More durable game real wireless headset with large battery and long endurance. Hero G1 can use it
Recursive traversal and non recursive traversal of binary tree (C language version)
Golang cli framework --cobra
保温热水更方便,日常泡奶的小神器,七彩叮当无线便携式调奶器上手
kubernetes 设置 Master 可调度与不可调度
In 2021, the revenue of China's electronic components will be the first, revealing the development path of precision and high quality of Tencent
Vite's public directory
好玩的人脸识别小软件
High performance computing (2) -- a ten thousand foot tall building rises from the ground
常用颜色RGB、灰度值、取色值、透明度。
第 2 天 链表(简单)
杰理之BLE OTA 升级需要关闭不必要的外设【篇】
NeRF:用深度学习完成3D渲染任务的蹿红
指令集与应敏科技达成战略合作,国产原创物联网操作系统助力电力检测「智慧化」...
fragment实现底部导航栏不刷新切换
Software testing quality and assurance
[communication protocol] UART, I2C, SPI review