19:55:23.759 [http-nio-8080-exec-25] DEBUG o.s.web.servlet.DispatcherServlet - Completed 404 NOT_FOUND
19:55:23.759 [http-nio-8080-exec-25] DEBUG o.s.web.servlet.DispatcherServlet - "ERROR" dispatch for GET "/error", parameters={}
19:55:23.759 [http-nio-8080-exec-25] DEBUG s.d.s.w.PropertySourcedRequestMappingHandlerMapping - looking up handler for path: /error
19:55:23.759 [http-nio-8080-exec-25] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
19:55:23.759 [http-nio-8080-exec-25] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Using 'application/json', given [application/json, text/javascript, /;q=0.01] and supported [application/json, application/+json, application/json, application/+json]
19:55:23.759 [http-nio-8080-exec-25] DEBUG o.s.w.s.m.m.a.HttpEntityMethodProcessor - Writing [{timestamp=Thu Jul 08 19:55:23 CST 2021, status=404, error=Not Found, message=No message available, (truncated)...]
19:55:23.759 [http-nio-8080-exec-25] DEBUG o.s.web.servlet.DispatcherServlet - Exiting from "ERROR" dispatch, status 404
19:55:23.763 [http-nio-8080-exec-26] DEBUG o.s.web.servlet.DispatcherServlet - GET "/null/swagger-resources/configuration/ui", parameters={}
19:55:23.763 [http-nio-8080-exec-26] DEBUG s.d.s.w.PropertySourcedRequestMappingHandlerMapping - looking up handler for path: /null/swagger-resources/configuration/ui
19:55:23.763 [http-nio-8080-exec-26] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/", "classpath:/resources/", "classpath:/static/", "classpath:/public/", "/"]
19:55:23.764 [http-nio-8080-exec-26] DEBUG o.s.w.s.r.ResourceHttpRequestHandler - Resource not found
Completed 404 NOT_FOUND
检查控制器是否能够正常进入。
检查拦截规则,检查filter
DEBUG o.s.web.servlet.DispatcherServlet - "ERROR" dispatch for GET "/error", parameters={}
看看有没有error这个页面???
应该是你swagger相关模块报出来的错误,检查一下swagger相关配置是否正确
好像没有把重复内容复制完整。
你先去看最早的一个ERROR是什么。
目前看像是出现一个错误,然后跳转错误页面的时候,跳转过程又出错,然后又跳转错误页面这样循环下去了。