Java Spring Help regarding @AutoWired

why doesnt this work
there is a bean of Parrot.class but why doesnt AutoWired inject it to parrot identifier
i read the documentation of AutoWired and it should do this according to it.
image.png
Was this page helpful?