@EnableAutoConfiguration
Spring Boot 애플리케이션에서 다양한 라이브러리들의 자동 구성을 활성화
@SpringBootApplication
@EnableAutoConfiguration
public class MyApp {
public static void main(String[] args) {
SpringApplication.run(MyApp.class, args);
}
}
https://standout.tistory.com/486
Annotation - @SpringBootApplication
@SpringBootApplication 세 가지 Spring 어노테이션이 조합된 메타 어노테이션 어플리케이션 자동 구성 및 컴포넌트 검색을 위한 기본 설정을 모두 포함 단독으로, 조합으로 사용될 수 있다. @SpringBootAppli
standout.tistory.com
'JAVA > Spring' 카테고리의 다른 글
Annotation - @mapper @Select @Insert @Update @Delete (0) | 2023.04.20 |
---|---|
Annotation - @SpringBootConfiguration (0) | 2023.04.20 |
Annotation - @SpringBootApplication (0) | 2023.04.20 |
Annotation - @ComponentScan (0) | 2023.04.20 |
Annotation - @Configuration (0) | 2023.04.20 |