Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerExcepti
作者:mmseoamin日期:2024-01-19
报错信息:
Unable 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
