已弃用 'org.springframework.web.servlet.handler.HandlerInterceptorAdapter’
新版本idea中使用拦截器的时候出现如下报错
解决方法如下:
在public class…前面添加依赖: @Deprecated
然后重新编译后,拦截器就可以正常使用了!
已弃用 ‘org.springframework.web.servlet.handler.HandlerInterceptorAdapter‘
最新推荐文章于 2024-05-09 20:05:38 发布