栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.

生命无罪,健康万岁,大家好我是laity。

开发中问题梳理

报错1

Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.

报错2

Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.

中文描述

无法启动网络服务器;嵌套异常是 org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean。

由于缺少 ServletWebServerFactory bean,无法启动 ServletWebServerApplicationContext。

本人解决方案

仅供参考

发生 网络异常报错说明本地服务提不起来,也检查了很久,最后在pom文件发现了端倪;

        
            org.springframework.boot
            spring-boot-starter-web
            






        

通过取消移除内置的tomcat成功解决了该报错,希望对你有所帮助!!!

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/1023679.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号