Skip to content

Is this considered as a bug of the Spring framework? #33516

@xgwcy

Description

@xgwcy

@Configuration @EnableAsync public class AppConfig { @Resource private AppConfig app ; @Async public void fn() {} }
When defining an @async asynchronous method in a configuration class, the program may fail to start normally and throw an exception like the following:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: stackoverflowA question that's better suited to stackoverflow.comstatus: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions