How to resolve 'org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type ...' - using stereotype Annotations and using @Configuration, @Bean Annotation
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW8MVFbZF3RuDz8JGiQ0hEJtyElUXEv-cW6Pk6a81KjsePnYkNwiKfEiG5PUvoNIpbBAMYe-NDwll09yUyqZtfYofqP37qEtGGC81QasKt-D5NBZEzhZmDENZveZU33l_VWMxhNQLB25S0rI2wkll8dpUhQ9C82mxWBXECuepJrhUdYVOz1XKuAJeQLg/w640-h416/NoSuchBeanDefinitionException.png)
"At the end of the day, it doesn't really matter whether you use XML, annotation or Java configuration. It's important that beans are known to application context." - Tomasz Nurkiewicz Hello everyone, in this article, we will learn how to resolve org.springframework.beans.factory. NoSuchBeanDefinitionException : No qualifying bean of type 'com.knf.dev.demo.account.HelloManager' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: Using: 1. Stereotype Annotations. 2. @Configuration, @Bean Annotation. Before going to the example just a quick overview of NoSuchBeanDefinitionException , @Configuration annotation, @Bean annotation, and @Component annotation( Stereotype annotation ). NoSuchBeanDefinitionException: The 'org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.knf.dev.demo.account.HelloManager' available: expected at least 1 bean which qualifies as