@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
βοΈ @EnableAutoConfiguration
Spring Bootμ μλ κ΅¬μ± λ©μ»€λμ¦ νμ±ν
βοΈ @ComponentScan
μ ν리μΌμ΄μ
λ΄μ ν¨ν€μ§μμ @Component μ΄λ
Έν
μ΄μ
μ΄ λΆμ ν΄λμ€λ€μ λν μ€μΊλ νμ±ν
βοΈ @SpringBootConfiguration
Spring Contextμ Beanμ μΆκ°μ μΌλ‘ λ±λ‘νκ±°λ COnfiguration ν΄λμ€λ₯Ό μΆκ°μ μΌλ‘ importνλ κΈ°λ₯ νμ±ν
[μ°Έκ³ μλ£]