Skip to content

xml中使用context:component-scan标签发布jvm服务偶发异常 #1341

Open
@ifccod

Description

@ifccod

我在某个facade-impl模块中用xml定义context:component-scan扫描当前模块下带有@service,@SofaService的bean,在调用方偶尔会出现引用不到jvm服务的异常,这个错误不是必现的,是偶发的。
并且在我把xml标签换成bean去定义之后,这个错误就不会在出现了。

正常
1

有时会出现
1725201450221

只有使用context:component-scan标签启动时偶尔会出现,麻烦帮忙看一下这个问题

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