I have an application where I have my own flashMapManager implementation. In version 2.3.6, eveything works fine. I have a bean named "flashMapManager" and DispatcherServlet uses my implementation.
I tried to upgrade to version 2.4.0 and I got an error telling me that the bean in WebMvcAutoConfiguration$EnableWebMvcConfiguration cannot be registered because a bean has already been defined with that name.
I tried to enable bean overriding but the flashMapManager that is used is the SessionFlashMapManager.
How can i provide my own flashMap implementation in spring boot 2.4.x ?
I provided a simple test case here to demonstrate it
https://github.com/ebussieres/spring-boot-flashmap-bug