org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type available: expected at least 1 bean which qualifies as autowire candidate. 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 }