Springboot工做机制

@SpringBootApplication注解揭秘 这个注解并不必定要修饰在主函数的类上,修饰其余类也是能够的。@SpringBootApplication注解至关于@Configuration @ComponentScan @EnableAutoConfiguration;只是这三个使用频率高因此就使用组合注解@SpringBootApplication表达了;@Configuration修饰
相关文章
相关标签/搜索