@Main method annotation that runs any method, annotated with @Main after the ApplicationContext was initialized or refreshed.
- Spring Boot ready
- It may contain bugs, so use of this tool is at your own risk.
- To work with Spring Boot Dev Tools, you should create file in you project:
- resources/META-INF/spring-devtools.properties
- add something like this: restart.include.annotations=/main-annotation-1.0-SNAPSHOT.jar (https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-devtools.html, spring-projects/spring-boot#3316)