autowiring doesn't match generics [SPR-5546] #10217
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: invalid
An issue that we don't feel is valid
Uh oh!
There was an error while loading. Please reload this page.
Scott Battaglia opened SPR-5546 and commented
I've created my own PersonFactory class that implements ObjectFactory<Person> and its labeled with
@Component
. I have a controller that has a property "private ObjectFactory<Person>" with autowired=trueThere is only one ObjectFactory<Person>.
During bootstrap Spring can't seem to match the two up. It complains there is more than one ObjectFactory.
Affects: 3.0 M2
Issue Links:
The text was updated successfully, but these errors were encountered: