# springboot-src-v2.1.0-RELEASE **Repository Path**: happergit/springboot-src-v2.1.0-RELEASE ## Basic Information - **Project Name**: springboot-src-v2.1.0-RELEASE - **Description**: SpringBoot源码解析 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-04-29 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### 启动源码实例 启动Helloworld 在工程下spring-boot-sample-tomcat(spring-boot-samples\spring-boot-sample-tomcat\src\main\java\sample\tomcat\SampleTomcatApplication.java) (该源码分析对应SpringBoot版本为2.1.0.RELEASE,github地址: https://github.com/spring-projects/spring-boot/tree/v2.1.0.RELEASE) #### 工程目录介绍 1. spring-boot-project:整个SpringBoot框架全部功能在这个模块实现,SpringBoot项目95%的代码都在这里实现,源码总共有25万行左右。 2. Spring-boot-samples:这个是SpringBoot给小伙伴们赠送的福利,里面包含了各种各样使用SpringBoot的简单demo,我们调试阅读源码的时候可以充分利用该模块。 3. Spring-boot-sample-invoker:这个模块应该是跟sample模块有关,注意根pom.xml中有这么一句话:Samples are built via the invoker plugin,该模块无代码。 4. Spring-boot-tests:这个模块SpringBoot的测试模块,跟部署测试和集成测试有关。 ![](https://user-gold-cdn.xitu.io/2020/2/23/170728e220dc58a9?w=1247&h=749&f=png&s=281752) * 本博文参考了:https://github.com/yuanmabiji/Java-SourceCode-Blogs和https://www.jianshu.com/p/781187167117