Skip to content

@Autowired dependencies against bean definitions with type-inspecific factory-methods may fail [SPR-8769] #13412

@spring-projects-issues

Description

@spring-projects-issues

David Turanski opened SPR-8769 and commented

Autowire Mock Object using factory-method fails with NoSuchBeanDefinitionException if the Autowired bean comes after the dependent.


Issue Links:

Referenced from: commits spring-attic/spring-framework-issues@b38d68c, spring-attic/spring-framework-issues@b742560, spring-attic/spring-framework-issues@bfbeccc

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)in: testIssues in the test modulestatus: declinedA suggestion or change that we don't feel we should currently apply

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions