Spring Boot - Inversion of Control and Dependency Injection
What is wrong with this Spring Boot IoC setup?
@Component
public class Controller {
private Service service;
public void setService(Service service) {
this.service = service;
}
}