【发布时间】:2020-10-15 01:34:00
【问题描述】:
应用程序在启动过程中失败并出现此错误:
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.
所有团队成员都有同样的问题,而且似乎即使我们检查旧的 git 标签,同样的问题仍然存在。我们检查了所有的构建文件和依赖项,在最后一段时间似乎没有任何改变。更有趣的是,Bamboo 似乎在前一天成功地运行了构建和 IT 包,但今天早上似乎同样的问题在那里重现。
不确定为什么会抱怨 WebMvcSecurityConfiguration,因为我们在项目中只使用了反应式安全性。所以此时我们没有任何 spring-mvc 依赖..
有人知道吗?谢谢
【问题讨论】:
标签: java spring-boot spring-mvc spring-webflux