duxuewei-flinty commented on issue #1691: URL: https://github.com/apache/shiro/issues/1691#issuecomment-2965783171
I think if you pass the new way of rebuilding the RequestMappingHandlerMapping there may be a problem, not through the way of injection, specific as follows: ``` @Configuration public class WebShiroConfig { @Bean @Primary public RequestMappingHandlerMapping shiroRequestMappingHandlerMapping( RequestMappingHandlerMapping requestMappingHandlerMapping) { return requestMappingHandlerMapping; } } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@shiro.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@shiro.apache.org For additional commands, e-mail: issues-h...@shiro.apache.org