# Class org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests

25 tests | 0 failures | 0 ignored | 0.189s duration

100%

successful

- Tests
- Standard output

## Tests

Test | Duration | Result
--- | --- | ---
autowiredConstructorArgumentResolvesQualifiedCandidate | 0.011s | passed
autowiredConstructorArgumentWithMultipleNonQualifiedCandidates | 0.003s | passed
autowiredConstructorArgumentWithSingleNonQualifiedCandidate | 0.003s | passed
autowiredConstructorArgumentWithSingleQualifiedCandidate | 0.005s | passed
autowiredFieldDoesNotResolveCandidateWithDefaultValueAndConflictingValueOnBeanDefinition | 0.004s | passed
autowiredFieldDoesNotResolveWithBaseQualifierAndNonDefaultValueAndMultipleMatchingCandidates | 0.003s | passed
autowiredFieldDoesNotResolveWithMultipleQualifierValuesAndConflictingDefaultValue | 0.009s | passed
autowiredFieldDoesNotResolveWithMultipleQualifierValuesAndMultipleMatchingCandidates | 0.005s | passed
autowiredFieldResolvesMetaQualifiedCandidate | 0.013s | passed
autowiredFieldResolvesQualifiedCandidate | 0.009s | passed
autowiredFieldResolvesQualifiedCandidateWithDefaultValueAndNoValueOnBeanDefinition | 0.010s | passed
autowiredFieldResolvesWithBaseQualifierAndDefaultValue | 0.008s | passed
autowiredFieldResolvesWithBaseQualifierAndNonDefaultValue | 0.031s | passed
autowiredFieldResolvesWithDefaultValueAndExplicitDefaultValueOnBeanDefinition | 0.008s | passed
autowiredFieldResolvesWithMultipleQualifierValues | 0.004s | passed
autowiredFieldResolvesWithMultipleQualifierValuesAndExplicitDefaultValue | 0.004s | passed
autowiredFieldWithMultipleNonQualifiedCandidates | 0.003s | passed
autowiredFieldWithSingleNonQualifiedCandidate | 0.003s | passed
autowiredFieldWithSingleQualifiedCandidate | 0.003s | passed
autowiredMethodParameterResolvesQualifiedCandidate | 0.005s | passed
autowiredMethodParameterWithMultipleNonQualifiedCandidates | 0.004s | passed
autowiredMethodParameterWithSingleNonQualifiedCandidate | 0.009s | passed
autowiredMethodParameterWithSingleQualifiedCandidate | 0.003s | passed
autowiredMethodParameterWithStaticallyQualifiedCandidate | 0.015s | passed
autowiredMethodParameterWithStaticallyQualifiedCandidateAmongOthers | 0.014s | passed

## Standard output

    16:45:13.008 [Test worker] WARN  org.springframework.context.support.GenericApplicationContext - Exception  encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'autowired': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$Person' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$TestQualifier()}
    16:45:13.017 [Test worker] WARN  org.springframework.context.support.GenericApplicationContext - Exception  encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'autowired': Unsatisfied dependency expressed through field 'person'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$Person' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true), @org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$TestQualifierWithMultipleAttributes(value=default, number=123)}
    16:45:13.019 [Test worker] WARN  org.springframework.context.support.GenericApplicationContext - Exception  encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'autowired': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$Person' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$TestQualifier()}
    16:45:13.028 [Test worker] WARN  org.springframework.context.support.GenericApplicationContext - Exception  encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'autowired': Unsatisfied dependency expressed through method 'setPerson' parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$Person' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$TestQualifier()}
    16:45:13.058 [Test worker] WARN  org.springframework.context.support.GenericApplicationContext - Exception  encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'autowired': Unsatisfied dependency expressed through method 'setPerson' parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$Person' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$TestQualifier()}
    16:45:13.084 [Test worker] WARN  org.springframework.context.support.GenericApplicationContext - Exception  encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'autowired': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type 'org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$Person' available: expected single matching bean but found 2: juergen1,juergen2
    16:45:13.106 [Test worker] WARN  org.springframework.context.support.GenericApplicationContext - Exception  encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'autowired': Unsatisfied dependency expressed through field 'person'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$Person' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true), @org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$TestQualifier()}
    16:45:13.128 [Test worker] WARN  org.springframework.context.support.GenericApplicationContext - Exception  encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'autowired': Unsatisfied dependency expressed through field 'person'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$Person' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true), @org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$TestQualifierWithDefaultValue(value=default)}
    16:45:13.133 [Test worker] WARN  org.springframework.context.support.GenericApplicationContext - Exception  encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'autowired': Unsatisfied dependency expressed through field 'person'; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type 'org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$Person' available: expected single matching bean but found 2: juergen,mark
    16:45:13.141 [Test worker] WARN  org.springframework.context.support.GenericApplicationContext - Exception  encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'autowired': Unsatisfied dependency expressed through field 'person'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$Person' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true), @org.springframework.beans.factory.support.QualifierAnnotationAutowireContextTests$TestQualifier()}