** a bean of type ‘javax.servlet.Filter‘ that could not be found

废话不多说,先上图: 从截图中可以看到,错误的根源在于javax.servlet.Filter在配置中找不到,也就是扫描时找不到这个bean,一开始各种百度各种问朋友,最后的最后,才发现,又是我自己坑了自己 application.peoperties或application.yml中,是不是配置了这个 spring: main: web-application-type: none 这个配置代表
相关文章
相关标签/搜索