Skip to content

关于DubboBeanDefinitionParser 重复bean id的问题 #9366

@GerlosLiu

Description

@GerlosLiu

当前场景是,
一个项目中引入两个三方jar,两个三方jar的META-INF下面的xml中配置了一个一摸一样的dubbo:reference,导致本地启动的时候提示Duplicate spring bean id downloadCenterService。
尝试过在DefaultBeanDefinitionDocumentReader的前置处理中用Document.removeIdentifier删除指定id的reference,可还是注册进去了。
这种情况该怎么解决呢?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions