![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot相关
哈喽沃德!
这个人很懒,什么都没有留下……
展开
-
springboot中使用拦截器、过滤器
拦截器的使用导入相关依赖:<!--webmvc--><dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>5.3.8</version></dependency>写配置类:MyInterceptor:/** * 自定原创 2021-07-11 12:00:35 · 59 阅读 · 0 评论 -
启动失败:Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
spring boot启动失败报错内容:Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.解决方法:加上依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web<原创 2021-07-10 21:24:09 · 202 阅读 · 0 评论