小编Raf*_*han的帖子

Spring Boot requestDataValueProcessor Bean 定义冲突

我尝试在我的项目中使用SpringWebFluxSecurity,但编译时出现此错误

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.

我知道我必须删除对WebMvcSecurityConfiguration. 问题是我无法弄清楚在我的项目中调用该配置的位置。您知道如何找到它吗?

java spring-security spring-boot spring-webflux

7
推荐指数
1
解决办法
6393
查看次数