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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]