You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems there is a bug when I want to use the @Qualifier-Annotation in combination with the AutomaticJobRegistrar. Autowiring without Qualifiers is fully working. The problem is that Spring doesn't find the referenced bean "subExampleService" that is annotated with @Qualifier inside the "exampleService"-Bean.
I've added an example project with a test case "ApplicationTests" which produces the exception: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'subExampleService' is defined
Dennis Schulte opened BATCH-2303 and commented
It seems there is a bug when I want to use the
@Qualifier-Annotation
in combination with the AutomaticJobRegistrar. Autowiring without Qualifiers is fully working. The problem is that Spring doesn't find the referenced bean "subExampleService" that is annotated with@Qualifier
inside the "exampleService"-Bean.XML-Snippet:
Java-Snippet:
I've added an example project with a test case "ApplicationTests" which produces the exception: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'subExampleService' is defined
Affects: 3.0.1
Reference URL: https://github.com/codecentric/spring-samples/tree/master/batch-simple
The text was updated successfully, but these errors were encountered: