Spring Boot - Advanced Patterns
Why does this custom auto-configuration fail to create a bean?
@Configuration
public class MyAutoConfig {
@Bean
private MyService myService() {
return new MyService();
}
}