@SpringBootApplication annotation¶
The @SpringBootApplication annotation is a convenience annotation used in Spring Boot development to configure the main application class.^[600-developer__spring__開發一個springboot流程.md]
It is typically applied to the primary class containing the main method, which serves as the entry point for the application.^[600-developer__spring__開發一個springboot流程.md]
Usage Context¶
This annotation is a key component of the "Developing with Spring Boot" workflow.^[600-developer__spring__開發一個springboot流程.md] It follows steps involving dependency injection and auto-configuration and precedes the execution of the application.^[600-developer__spring__開發一個springboot流程.md]
Related Concepts¶
- Spring Boot
- [[Auto-configuration]]
Sources¶
^[600-developer__spring__開發一個springboot流程.md]