org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type code example
Example: No qualifying bean of type 'com.richoco.demo.Customers' available
Add @Component to the class....example below:
@Component
public class Customers{ // code of choice goes here }