Spring Boot - Inversion of Control and Dependency Injection
What is the error in the following code snippet?
@Component("serviceA")
class ServiceA implements Service {}
@Autowired
@Qualifier("serviceB")
private Service service;