I try to use SpringWebFluxSecurity
in my project, but I got this error when compiling
The bean 'requestDataValueProcessor', defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebMvcSecurityConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [org/springframework/security/config/annotation/web/reactive/WebFluxSecurityConfiguration.class] and overriding is disabled.
I know that I have to remove the dependency to WebMvcSecurityConfiguration
. The problem is I cannot figure out where that configuration is being called in my project. Do you have any idea how to find it?
Run a `mvn dependence:tree and you'll be able to see the dependence tree of your project. Then try to find out which are the packages of this dependencies and removes that you don't need.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With