BeanDefinitionOverrideException:名称为“conversionServicePostProcessor”的 bean 定义无效

问题描述

weblogic.application.ModuleException: org.springframework.beans.factory.support.BeanDeFinitionOverrideException: 在类路径资源 [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration] 中定义了名称为“conversionServicePostProcessor”的无效 bean 定义.class]: 无法注册 bean 定义 [Root bean: class [org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration];范围=;抽象=假;懒惰初始化=空; autowireMode=3;依赖检查=0; autowireCandidate=真;主要=假; factorybeanName=null; factoryMethodName=conversionServicePostProcessor; initMethodName=null; destroyMethodName=(推断);在类路径资源 [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]] 中为 bean 'conversionServicePostProcessor' 定义:已经有 [Root bean: class [org.springframework.security.config.annotation. web.reactive.WebFluxSecurityConfiguration];范围=;抽象=假;懒惰初始化=空; autowireMode=3;依赖检查=0; autowireCandidate=真;主要=假; factorybeanName=null; factoryMethodName=conversionServicePostProcessor; initMethodName=null; destroyMethodName=(推断);

如何摆脱错误并使用我的响应式弹簧安全性?

我尝试将 Web 应用程序类型设置为响应式,但仍然出现相同的错误

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)