Skip to content

ObjectFactory<List> with specified constructor args occurs error #29110

Closed
@qrqhuang

Description

@qrqhuang

ObjectProvider support a method to get bean with specified args. (#18529)

But I have a collection beans to autowired, Use ObjectProvider<List<T>>, but now it looks like the args not effect, and throw
No qualifying bean for constructor.

spring version: 4.3.25.RELEASE

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)status: 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