文章目录 一、项目框架 二、创建simple-springboot父模块 1.修改pom.xml 三、创建springboot-module子模块 1.修改pom.xml 2.创建META-INF/services/com.example.springboot.AutoConfiguration 3.创建AutoConfiguration 4.创建WebServerAutoConfiguration 5.创建AutoConfigurationImportSelector 6.创建ExampleCondition 7.创建ExampleConditionalOnClass