I am totally new to Spring and started to do the official guides from this site: https://spring.io/guides
I\'d like to do this guide: https://spring.io/guides/gs/sch
A scan of the @SpringBootApplication
show that it includes the following annotations:
@Configuration
@ComponentScan
@EnableAutoConfiguration
So you could do this too:
@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(ScheduledTasks.class, args);
}
}