![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Bug
salityFish
Think more,do more
展开
-
Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
最近在启动maven Spring项目的时候,发现包异常信息: – at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getWebServerFactory(ServletWebServerApplicationContext.java:204) ~[spring-boot-2.0...原创 2020-03-27 12:17:23 · 548 阅读 · 0 评论 -
项目成功启动,但是无法访问资源,网页打开404
本人最近遇到了一个问题,就是项目可以成功启动,不报错误,但是网页访问localhost出现404,从网上找了各种办法,像什么关闭防火墙,改tomcat配置,资源路径问题…通通不管用。搞了一天也没有搞好。最后发现是tomcat版本的问题 原项目是一个jdk7+tomcat6.0的环境; 而我的环境是jdk8+tomcat8.5 本以为高版本是向下兼容低版本的,但是从上查了才发现原来升级到高版本之后...原创 2018-10-17 10:54:34 · 1972 阅读 · 0 评论