Java
- 分类
- 后端框架
- 难度
- 未设置
- 来源数
- 1
- 更新时间
- 2026/03/29 15:43
答案
核心注解是标注在启动类上的@SpringBootApplication,它可以看作是@Configuration、@EnableAutoConfiguration、@ComponentScan的组合。
相关题目(5)
元信息
审核状态: active
关联来源: 1
来源面经题(0)
这道题目前没有手动沉淀的面经题来源。
来源(1)
Java八股(框架).md
knowledge_noteQuestion 41: Spring Boot 的核心注解是哪些?由哪几个注解组成?
Source answer: 核心注解是标注在启动类上的@SpringBootApplication,它可以看作是@Configuration、@EnableAutoConfiguration、@ComponentScan的组合。
Reviewed answer: 核心注解是 @SpringBootApplication,本质上是 @Configuration、@EnableAutoConfiguration、@ComponentScan 的组合。