BUG记录: 拦截器 handler instanceof HandlerMethod 一直为false ( 原因导错了jar包 )
handler instanceof HandlerMethod 一直为false 是因为导错了包应该导入:import org.springframework.web.method.HandlerMethod; @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { //
原创
2021-06-07 11:54:07 ·
6238 阅读 ·
5 评论