SpringBoot之@EnableAutoConfiguration注解
首先Spring Boot项目中都会如下启动类:
@SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } }
首先Spring Boot项目中都会如下启动类:
@SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } }