If you don't would like to use @SpringBootApplication, the @EnableAutoConfiguration and @ComponentScan annotations that it imports defines that habits so you can also use Those people in its place.
Spring Boot: https://nettiepilt454630.daneblogger.com/29721328/how-hire-spring-boot-developers-can-save-you-time-stress-and-money