애플리케이션을 실행하면 다음의 코드 스니펫에 표시된 것과 유사한 예외가 발생한다.
Exception in thread "main"
org.springframework.beans.factory.NoUniqueBeanDefinitionException: No
qualifying bean of type 'main.Parrot' available: expected single matching
bean but found 3:
parrot1,parrot2,parrot3 ← 컨텍스트에 있는 Parrot 빈들의 이름이다.
at ...