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.
不知道你们又没遇到过这种问题,我去网上,查过,但是都没有解决方案,后来自己检查项目,原来是打包时改的配置忘了改回来。
这个作用是移除内置的tomcat,去除exclusion是就可以了,
(组:根据这个也可以推测,可能是在不知名的地方tomcat的包没注入)