小工具知识网

当前位置: 首页 > 行业知识 > Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerExcepti

行业知识

Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerExcepti

2026-11-28 07:30:17 来源:互联网转载

报错信息:

Unaindex.php/tags-41973.html" >ble to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat

原因分析:

1、检查自己的pom是否加错文件,发生冲突

这是我自己项目加错了报错了。 

2、或者是自己的文件没有加入到编译文件里面,maven clean一下,然后重新启动即可。

 3、检查是否在启动类上加入了注释@SpringBootApplication

 

上一篇:云服务器安全组设置

下一篇:app如何租用服务器?