摘要: 重点是SpringApplication.run这个方法,点进去可以看到英文注释中说明了它使用了一些默认的配置。那么这些默认的配置是从哪里来的呢,其实都是从@SpringBootApplication这个注解来的。运行这个方法之后,会返回一个正在运行的runningApplicationContex 阅读全文
posted @ 2020-09-15 21:21 yeasonhe 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 首先找到聚合工程自己的xml,当前除了子模块的依赖之外,并没有别的依赖。 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version 阅读全文
posted @ 2020-09-15 20:45 yeasonhe 阅读(499) 评论(0) 推荐(0) 编辑