提问人:kim 提问时间:11/17/2023 更新时间:11/17/2023 访问量:38
SpringBoot - RequestMappingHandlerMapping 重复
SpringBoot - RequestMappingHandlerMapping Repetition
问:
迁移到 Spring 3.1.5 后,RequestMapping HandlerMapping 反复出现。我不认为这是正常情况,我可以问问你的意见吗?
下面是 API 调用后的日志。
我正在单独学习,但这部分让我很困扰。请帮帮我ᅮ_ᅲ
2023-11-17T05:43:49.145+09:00 DEBUG 67513 --- [p-nio-80-exec-4] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.template.server.domain.article.controller.ArticleController#articleList(Pageable)
2023-11-17T05:43:49.145+09:00 DEBUG 67513 --- [p-nio-80-exec-4] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.template.server.domain.article.controller.ArticleController#articleList(Pageable)
2023-11-17T05:43:49.145+09:00 DEBUG 67513 --- [p-nio-80-exec-4] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.template.server.domain.article.controller.ArticleController#articleList(Pageable)
2023-11-17T05:43:49.146+09:00 DEBUG 67513 --- [p-nio-80-exec-4] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.template.server.domain.article.controller.ArticleController#articleList(Pageable)
2023-11-17T05:43:49.146+09:00 DEBUG 67513 --- [p-nio-80-exec-4] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.template.server.domain.article.controller.ArticleController#articleList(Pageable)
2023-11-17T05:43:49.146+09:00 DEBUG 67513 --- [p-nio-80-exec-4] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.template.server.domain.article.controller.ArticleController#articleList(Pageable)
2023-11-17T05:43:49.146+09:00 DEBUG 67513 --- [p-nio-80-exec-4] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.template.server.domain.article.controller.ArticleController#articleList(Pageable)
2023-11-17T05:43:49.146+09:00 DEBUG 67513 --- [p-nio-80-exec-4] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.template.server.domain.article.controller.ArticleController#articleList(Pageable)
2023-11-17T05:43:49.147+09:00 DEBUG 67513 --- [p-nio-80-exec-4] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.template.server.domain.article.controller.ArticleController#articleList(Pageable)
2023-11-17T05:43:49.147+09:00 DEBUG 67513 --- [p-nio-80-exec-4] o.s.web.servlet.DispatcherServlet : GET "/api/v1/article?sort=createdAt,desc", parameters={sort:[createdAt,desc]}
2023-11-17T05:43:49.147+09:00 DEBUG 67513 --- [p-nio-80-exec-4] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.template.server.domain.article.controller.ArticleController#articleList(Pageable)
logging:
level:
org:
springframework:
web: debug
org.springframework.web.servlet: debug
org.hibernate.type.descriptor.sql.BasicBinder: trace
日志记录级别如下。
Spring Security 也被应用了,但这是过滤器问题吗?
答: 暂无答案
评论