Spring Boot 自动装配原理 首先,先看SpringBoot的主配置类: @SpringBootApplication public class StartEurekaApplication { public static void main(String[] args)