├── .gitattributes ├── README.md ├── docs ├── Spring Boot-核心篇.md └── Spring Boot-高级篇.md ├── spring-boot-01-hello ├── .idea │ ├── $CACHE_FILE$ │ ├── compiler.xml │ ├── encodings.xml │ ├── misc.xml │ └── workspace.xml ├── SpringBoot_hello.iml ├── pom.xml ├── src │ └── main │ │ └── java │ │ └── cn │ │ └── edu │ │ └── ustc │ │ ├── HelloController.java │ │ └── HelloWorldApplication.java └── target │ └── classes │ └── cn │ └── edu │ └── ustc │ ├── HelloController.class │ └── HelloWorldApplication.class ├── spring-boot-02-config ├── .idea │ ├── $CACHE_FILE$ │ ├── compiler.xml │ ├── encodings.xml │ ├── libraries │ │ ├── Maven__ch_qos_logback_logback_classic_1_2_3.xml │ │ ├── Maven__ch_qos_logback_logback_core_1_2_3.xml │ │ ├── Maven__com_fasterxml_classmate_1_5_1.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_10_2.xml │ │ ├── Maven__com_jayway_jsonpath_json_path_2_4_0.xml │ │ ├── Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml │ │ ├── Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml │ │ ├── Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml │ │ ├── Maven__jakarta_validation_jakarta_validation_api_2_0_2.xml │ │ ├── Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_2.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_1_10_8.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_agent_1_10_8.xml │ │ ├── Maven__net_minidev_accessors_smart_1_2.xml │ │ ├── Maven__net_minidev_json_smart_2_3.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_api_2_12_1.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_to_slf4j_2_12_1.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_31.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_31.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_31.xml │ │ ├── Maven__org_apiguardian_apiguardian_api_1_1_0.xml │ │ ├── Maven__org_assertj_assertj_core_3_13_2.xml │ │ ├── Maven__org_hamcrest_hamcrest_2_1.xml │ │ ├── Maven__org_hibernate_validator_hibernate_validator_6_0_18_Final.xml │ │ ├── Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_api_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_engine_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_params_5_5_2.xml │ │ ├── Maven__org_junit_platform_junit_platform_commons_1_5_2.xml │ │ ├── Maven__org_junit_platform_junit_platform_engine_1_5_2.xml │ │ ├── Maven__org_mockito_mockito_core_3_1_0.xml │ │ ├── Maven__org_mockito_mockito_junit_jupiter_3_1_0.xml │ │ ├── Maven__org_objenesis_objenesis_2_6.xml │ │ ├── Maven__org_opentest4j_opentest4j_1_2_0.xml │ │ ├── Maven__org_ow2_asm_asm_5_0_4.xml │ │ ├── Maven__org_skyscreamer_jsonassert_1_5_0.xml │ │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_30.xml │ │ ├── Maven__org_slf4j_slf4j_api_1_7_30.xml │ │ ├── Maven__org_springframework_boot_spring_boot_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_configuration_processor_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_json_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_test_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_validation_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_web_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_aop_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_beans_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_context_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_core_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_expression_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_jcl_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_test_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_web_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_webmvc_5_2_4_RELEASE.xml │ │ ├── Maven__org_xmlunit_xmlunit_core_2_6_3.xml │ │ └── Maven__org_yaml_snakeyaml_1_25.xml │ ├── misc.xml │ ├── modules.xml │ └── workspace.xml ├── application.yml ├── config │ └── application.yml ├── pom.xml ├── spring-boot-02-config.iml ├── src │ ├── main │ │ ├── java │ │ │ └── cn │ │ │ │ └── ustc │ │ │ │ └── edu │ │ │ │ └── springboot02config │ │ │ │ ├── SpringBoot02ConfigApplication.java │ │ │ │ ├── config │ │ │ │ └── MyConfiguration.java │ │ │ │ ├── controller │ │ │ │ └── ConfigController.java │ │ │ │ ├── domain │ │ │ │ ├── Dog.java │ │ │ │ └── Person.java │ │ │ │ └── service │ │ │ │ └── ConfigService.java │ │ └── resources │ │ │ ├── application-dev.yml │ │ │ ├── application-prod.yml │ │ │ ├── application.properties │ │ │ ├── application.yml │ │ │ ├── bean.xml │ │ │ ├── config │ │ │ └── application.yml │ │ │ └── person.properties │ └── test │ │ └── java │ │ └── cn │ │ └── ustc │ │ └── edu │ │ └── springboot02config │ │ └── SpringBoot02ConfigApplicationTests.java └── target │ ├── classes │ ├── META-INF │ │ └── spring-configuration-metadata.json │ ├── application-dev.yml │ ├── application-prod.yml │ ├── application.properties │ ├── application.yml │ ├── bean.xml │ ├── cn │ │ └── ustc │ │ │ └── edu │ │ │ └── springboot02config │ │ │ ├── SpringBoot02ConfigApplication.class │ │ │ ├── config │ │ │ └── MyConfiguration.class │ │ │ ├── controller │ │ │ └── ConfigController.class │ │ │ ├── domain │ │ │ ├── Dog.class │ │ │ └── Person.class │ │ │ └── service │ │ │ └── ConfigService.class │ ├── config │ │ └── application.yml │ └── person.properties │ ├── maven-archiver │ └── pom.properties │ ├── maven-status │ └── maven-compiler-plugin │ │ ├── compile │ │ └── default-compile │ │ │ ├── createdFiles.lst │ │ │ └── inputFiles.lst │ │ └── testCompile │ │ └── default-testCompile │ │ ├── createdFiles.lst │ │ └── inputFiles.lst │ ├── spring-boot-02-config-0.0.1-SNAPSHOT.jar │ ├── spring-boot-02-config-0.0.1-SNAPSHOT.jar.original │ ├── surefire-reports │ ├── TEST-cn.ustc.edu.springboot02config.SpringBoot02ConfigApplicationTests.xml │ └── cn.ustc.edu.springboot02config.SpringBoot02ConfigApplicationTests.txt │ └── test-classes │ └── cn │ └── ustc │ └── edu │ └── springboot02config │ └── SpringBoot02ConfigApplicationTests.class ├── spring-boot-03-web ├── .idea │ ├── $CACHE_FILE$ │ ├── compiler.xml │ ├── encodings.xml │ ├── libraries │ │ ├── Maven__ch_qos_logback_logback_classic_1_2_3.xml │ │ ├── Maven__ch_qos_logback_logback_core_1_2_3.xml │ │ ├── Maven__com_fasterxml_classmate_1_5_1.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_10_2.xml │ │ ├── Maven__com_jayway_jsonpath_json_path_2_4_0.xml │ │ ├── Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml │ │ ├── Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml │ │ ├── Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml │ │ ├── Maven__jakarta_validation_jakarta_validation_api_2_0_2.xml │ │ ├── Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_2.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_1_10_8.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_agent_1_10_8.xml │ │ ├── Maven__net_minidev_accessors_smart_1_2.xml │ │ ├── Maven__net_minidev_json_smart_2_3.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_api_2_12_1.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_to_slf4j_2_12_1.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_31.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_31.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_31.xml │ │ ├── Maven__org_apiguardian_apiguardian_api_1_1_0.xml │ │ ├── Maven__org_assertj_assertj_core_3_13_2.xml │ │ ├── Maven__org_attoparser_attoparser_2_0_5_RELEASE.xml │ │ ├── Maven__org_hamcrest_hamcrest_2_1.xml │ │ ├── Maven__org_hibernate_validator_hibernate_validator_6_0_18_Final.xml │ │ ├── Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_api_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_engine_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_params_5_5_2.xml │ │ ├── Maven__org_junit_platform_junit_platform_commons_1_5_2.xml │ │ ├── Maven__org_junit_platform_junit_platform_engine_1_5_2.xml │ │ ├── Maven__org_mockito_mockito_core_3_1_0.xml │ │ ├── Maven__org_mockito_mockito_junit_jupiter_3_1_0.xml │ │ ├── Maven__org_objenesis_objenesis_2_6.xml │ │ ├── Maven__org_opentest4j_opentest4j_1_2_0.xml │ │ ├── Maven__org_ow2_asm_asm_5_0_4.xml │ │ ├── Maven__org_skyscreamer_jsonassert_1_5_0.xml │ │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_30.xml │ │ ├── Maven__org_slf4j_slf4j_api_1_7_30.xml │ │ ├── Maven__org_springframework_boot_spring_boot_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_json_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_test_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_thymeleaf_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_validation_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_web_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_aop_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_beans_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_context_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_core_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_expression_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_jcl_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_test_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_web_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_webmvc_5_2_4_RELEASE.xml │ │ ├── Maven__org_thymeleaf_extras_thymeleaf_extras_java8time_3_0_4_RELEASE.xml │ │ ├── Maven__org_thymeleaf_thymeleaf_3_0_11_RELEASE.xml │ │ ├── Maven__org_thymeleaf_thymeleaf_spring5_3_0_11_RELEASE.xml │ │ ├── Maven__org_unbescape_unbescape_1_1_6_RELEASE.xml │ │ ├── Maven__org_webjars_bootstrap_4_4_1_1.xml │ │ ├── Maven__org_webjars_jquery_3_3_1.xml │ │ ├── Maven__org_webjars_popper_js_1_14_3.xml │ │ ├── Maven__org_xmlunit_xmlunit_core_2_6_3.xml │ │ └── Maven__org_yaml_snakeyaml_1_25.xml │ ├── misc.xml │ ├── modules.xml │ └── workspace.xml ├── pom.xml ├── spring-boot-03-web.iml ├── src │ ├── main │ │ ├── java │ │ │ └── cn │ │ │ │ └── ustc │ │ │ │ └── edu │ │ │ │ └── springboot │ │ │ │ ├── SpringBoot03WebApplication.java │ │ │ │ ├── component │ │ │ │ ├── filter │ │ │ │ │ └── MyFilter.java │ │ │ │ ├── initializer │ │ │ │ │ └── HelloApplicationContextInitializer.java │ │ │ │ ├── listener │ │ │ │ │ ├── HelloSpringApplicationRunListener.java │ │ │ │ │ └── MyListener.java │ │ │ │ ├── runner │ │ │ │ │ ├── ApplicationRunner.java │ │ │ │ │ └── HelloCommandLineRunner.java │ │ │ │ └── servlet │ │ │ │ │ └── MyServlet.java │ │ │ │ ├── config │ │ │ │ ├── MyLocaleResolver.java │ │ │ │ └── MyMvcConfig.java │ │ │ │ ├── controller │ │ │ │ ├── EmployeeController.java │ │ │ │ ├── HelloController.java │ │ │ │ ├── LoginController.java │ │ │ │ ├── MyErrorAttributes.java │ │ │ │ └── MyExceptionHandler.java │ │ │ │ ├── dao │ │ │ │ ├── DepartmentDao.java │ │ │ │ └── EmployeeDao.java │ │ │ │ ├── entities │ │ │ │ ├── Department.java │ │ │ │ └── Employee.java │ │ │ │ ├── exception │ │ │ │ └── UserNotExistException.java │ │ │ │ └── interceptor │ │ │ │ └── LoginInterceptor.java │ │ └── resources │ │ │ ├── META-INF │ │ │ └── spring.factories │ │ │ ├── application.properties │ │ │ ├── i18n │ │ │ ├── login.properties │ │ │ ├── login_en_US.properties │ │ │ └── login_zh_CN.properties │ │ │ ├── public │ │ │ └── index.html │ │ │ ├── resources │ │ │ └── favicon.ico │ │ │ ├── static │ │ │ └── asserts │ │ │ │ ├── css │ │ │ │ ├── bootstrap.min.css │ │ │ │ ├── dashboard.css │ │ │ │ └── signin.css │ │ │ │ ├── img │ │ │ │ └── bootstrap-solid.svg │ │ │ │ └── js │ │ │ │ ├── Chart.min.js │ │ │ │ ├── bootstrap.min.js │ │ │ │ ├── feather.min.js │ │ │ │ ├── jquery-3.2.1.slim.min.js │ │ │ │ └── popper.min.js │ │ │ └── templates │ │ │ ├── common │ │ │ ├── header.html │ │ │ └── side.html │ │ │ ├── dashboard.html │ │ │ ├── emp │ │ │ ├── add.html │ │ │ └── list.html │ │ │ ├── error │ │ │ ├── 404.html │ │ │ └── 5xx.html │ │ │ ├── login.html │ │ │ └── success.html │ └── test │ │ └── java │ │ └── cn │ │ └── ustc │ │ └── edu │ │ └── springboot │ │ └── SpringBoot03WebApplicationTests.java └── target │ ├── classes │ ├── META-INF │ │ ├── spring-boot-03-web.kotlin_module │ │ └── spring.factories │ ├── application.properties │ ├── cn │ │ └── ustc │ │ │ └── edu │ │ │ └── springboot │ │ │ ├── SpringBoot03WebApplication$1.class │ │ │ ├── SpringBoot03WebApplication$MyViewResolver.class │ │ │ ├── SpringBoot03WebApplication.class │ │ │ ├── component │ │ │ ├── filter │ │ │ │ └── MyFilter.class │ │ │ ├── initializer │ │ │ │ └── HelloApplicationContextInitializer.class │ │ │ ├── listener │ │ │ │ ├── HelloSpringApplicationRunListener.class │ │ │ │ └── MyListener.class │ │ │ ├── runner │ │ │ │ ├── ApplicationRunner.class │ │ │ │ └── HelloCommandLineRunner.class │ │ │ └── servlet │ │ │ │ └── MyServlet.class │ │ │ ├── config │ │ │ ├── MyLocaleResolver.class │ │ │ ├── MyMvcConfig$1.class │ │ │ └── MyMvcConfig.class │ │ │ ├── controller │ │ │ ├── EmployeeController.class │ │ │ ├── HelloController.class │ │ │ ├── LoginController.class │ │ │ ├── MyErrorAttributes.class │ │ │ └── MyExceptionHandler.class │ │ │ ├── dao │ │ │ ├── DepartmentDao.class │ │ │ └── EmployeeDao.class │ │ │ ├── entities │ │ │ ├── Department.class │ │ │ └── Employee.class │ │ │ ├── exception │ │ │ └── UserNotExistException.class │ │ │ └── interceptor │ │ │ └── LoginInterceptor.class │ ├── i18n │ │ ├── login.properties │ │ ├── login_en_US.properties │ │ └── login_zh_CN.properties │ ├── public │ │ └── index.html │ ├── resources │ │ └── favicon.ico │ ├── static │ │ └── asserts │ │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ ├── dashboard.css │ │ │ └── signin.css │ │ │ ├── img │ │ │ └── bootstrap-solid.svg │ │ │ └── js │ │ │ ├── Chart.min.js │ │ │ ├── bootstrap.min.js │ │ │ ├── feather.min.js │ │ │ ├── jquery-3.2.1.slim.min.js │ │ │ └── popper.min.js │ └── templates │ │ ├── common │ │ ├── header.html │ │ └── side.html │ │ ├── dashboard.html │ │ ├── emp │ │ ├── add.html │ │ └── list.html │ │ ├── error │ │ ├── 404.html │ │ └── 5xx.html │ │ ├── login.html │ │ └── success.html │ ├── maven-archiver │ └── pom.properties │ ├── maven-status │ └── maven-compiler-plugin │ │ ├── compile │ │ └── default-compile │ │ │ ├── createdFiles.lst │ │ │ └── inputFiles.lst │ │ └── testCompile │ │ └── default-testCompile │ │ ├── createdFiles.lst │ │ └── inputFiles.lst │ ├── spring-boot-03-web-0.0.1-SNAPSHOT.jar │ ├── spring-boot-03-web-0.0.1-SNAPSHOT.jar.original │ ├── surefire-reports │ ├── TEST-cn.ustc.edu.springboot.SpringBoot03WebApplicationTests.xml │ └── cn.ustc.edu.springboot.SpringBoot03WebApplicationTests.txt │ └── test-classes │ └── cn │ └── ustc │ └── edu │ └── springboot │ └── SpringBoot03WebApplicationTests.class ├── spring-boot-04-jsp ├── .idea │ ├── $CACHE_FILE$ │ ├── artifacts │ │ ├── spring_boot_04_jsp_war.xml │ │ └── spring_boot_04_jsp_war_exploded.xml │ ├── compiler.xml │ ├── encodings.xml │ ├── libraries │ │ ├── Maven__ch_qos_logback_logback_classic_1_2_3.xml │ │ ├── Maven__ch_qos_logback_logback_core_1_2_3.xml │ │ ├── Maven__com_fasterxml_classmate_1_5_1.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_10_2.xml │ │ ├── Maven__com_jayway_jsonpath_json_path_2_4_0.xml │ │ ├── Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml │ │ ├── Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml │ │ ├── Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml │ │ ├── Maven__jakarta_validation_jakarta_validation_api_2_0_2.xml │ │ ├── Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_2.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_1_10_8.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_agent_1_10_8.xml │ │ ├── Maven__net_minidev_accessors_smart_1_2.xml │ │ ├── Maven__net_minidev_json_smart_2_3.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_api_2_12_1.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_to_slf4j_2_12_1.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_31.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_31.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_31.xml │ │ ├── Maven__org_apiguardian_apiguardian_api_1_1_0.xml │ │ ├── Maven__org_assertj_assertj_core_3_13_2.xml │ │ ├── Maven__org_hamcrest_hamcrest_2_1.xml │ │ ├── Maven__org_hibernate_validator_hibernate_validator_6_0_18_Final.xml │ │ ├── Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_api_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_engine_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_params_5_5_2.xml │ │ ├── Maven__org_junit_platform_junit_platform_commons_1_5_2.xml │ │ ├── Maven__org_junit_platform_junit_platform_engine_1_5_2.xml │ │ ├── Maven__org_mockito_mockito_core_3_1_0.xml │ │ ├── Maven__org_mockito_mockito_junit_jupiter_3_1_0.xml │ │ ├── Maven__org_objenesis_objenesis_2_6.xml │ │ ├── Maven__org_opentest4j_opentest4j_1_2_0.xml │ │ ├── Maven__org_ow2_asm_asm_5_0_4.xml │ │ ├── Maven__org_skyscreamer_jsonassert_1_5_0.xml │ │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_30.xml │ │ ├── Maven__org_slf4j_slf4j_api_1_7_30.xml │ │ ├── Maven__org_springframework_boot_spring_boot_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_json_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_test_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_validation_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_web_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_aop_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_beans_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_context_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_core_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_expression_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_jcl_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_test_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_web_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_webmvc_5_2_4_RELEASE.xml │ │ ├── Maven__org_xmlunit_xmlunit_core_2_6_3.xml │ │ └── Maven__org_yaml_snakeyaml_1_25.xml │ ├── misc.xml │ ├── modules.xml │ └── workspace.xml ├── pom.xml ├── spring-boot-04-jsp.iml ├── src │ ├── main │ │ ├── java │ │ │ └── cn │ │ │ │ └── edu │ │ │ │ └── ustc │ │ │ │ └── springboot │ │ │ │ ├── ServletInitializer.java │ │ │ │ ├── SpringBoot04JspApplication.java │ │ │ │ └── controller │ │ │ │ └── HelloController.java │ │ ├── resources │ │ │ └── application.properties │ │ └── webapp │ │ │ ├── WEB-INF │ │ │ ├── success.jsp │ │ │ └── web.xml │ │ │ └── hello.jsp │ └── test │ │ └── java │ │ └── cn │ │ └── edu │ │ └── ustc │ │ └── springboot │ │ └── SpringBoot04JspApplicationTests.java └── target │ ├── classes │ ├── application.properties │ └── cn │ │ └── edu │ │ └── ustc │ │ └── springboot │ │ ├── ServletInitializer.class │ │ ├── SpringBoot04JspApplication.class │ │ └── controller │ │ └── HelloController.class │ ├── maven-archiver │ └── pom.properties │ ├── maven-status │ └── maven-compiler-plugin │ │ ├── compile │ │ └── default-compile │ │ │ ├── createdFiles.lst │ │ │ └── inputFiles.lst │ │ └── testCompile │ │ └── default-testCompile │ │ ├── createdFiles.lst │ │ └── inputFiles.lst │ ├── spring-boot-04-jsp-0.0.1-SNAPSHOT.war │ ├── spring-boot-04-jsp-0.0.1-SNAPSHOT.war.original │ ├── spring-boot-04-jsp-0.0.1-SNAPSHOT │ ├── META-INF │ │ └── MANIFEST.MF │ ├── WEB-INF │ │ ├── classes │ │ │ ├── application.properties │ │ │ └── cn │ │ │ │ └── edu │ │ │ │ └── ustc │ │ │ │ └── springboot │ │ │ │ ├── ServletInitializer.class │ │ │ │ ├── SpringBoot04JspApplication.class │ │ │ │ └── controller │ │ │ │ └── HelloController.class │ │ ├── lib │ │ │ ├── classmate-1.5.1.jar │ │ │ ├── hibernate-validator-6.0.18.Final.jar │ │ │ ├── jackson-annotations-2.10.2.jar │ │ │ ├── jackson-core-2.10.2.jar │ │ │ ├── jackson-databind-2.10.2.jar │ │ │ ├── jackson-datatype-jdk8-2.10.2.jar │ │ │ ├── jackson-datatype-jsr310-2.10.2.jar │ │ │ ├── jackson-module-parameter-names-2.10.2.jar │ │ │ ├── jakarta.annotation-api-1.3.5.jar │ │ │ ├── jakarta.validation-api-2.0.2.jar │ │ │ ├── jboss-logging-3.4.1.Final.jar │ │ │ ├── jul-to-slf4j-1.7.30.jar │ │ │ ├── log4j-api-2.12.1.jar │ │ │ ├── log4j-to-slf4j-2.12.1.jar │ │ │ ├── logback-classic-1.2.3.jar │ │ │ ├── logback-core-1.2.3.jar │ │ │ ├── slf4j-api-1.7.30.jar │ │ │ ├── snakeyaml-1.25.jar │ │ │ ├── spring-aop-5.2.4.RELEASE.jar │ │ │ ├── spring-beans-5.2.4.RELEASE.jar │ │ │ ├── spring-boot-2.2.5.RELEASE.jar │ │ │ ├── spring-boot-autoconfigure-2.2.5.RELEASE.jar │ │ │ ├── spring-boot-starter-2.2.5.RELEASE.jar │ │ │ ├── spring-boot-starter-json-2.2.5.RELEASE.jar │ │ │ ├── spring-boot-starter-logging-2.2.5.RELEASE.jar │ │ │ ├── spring-boot-starter-validation-2.2.5.RELEASE.jar │ │ │ ├── spring-boot-starter-web-2.2.5.RELEASE.jar │ │ │ ├── spring-context-5.2.4.RELEASE.jar │ │ │ ├── spring-core-5.2.4.RELEASE.jar │ │ │ ├── spring-expression-5.2.4.RELEASE.jar │ │ │ ├── spring-jcl-5.2.4.RELEASE.jar │ │ │ ├── spring-web-5.2.4.RELEASE.jar │ │ │ └── spring-webmvc-5.2.4.RELEASE.jar │ │ ├── success.jsp │ │ └── web.xml │ └── hello.jsp │ ├── surefire-reports │ ├── TEST-cn.edu.ustc.springboot.SpringBoot04JspApplicationTests.xml │ └── cn.edu.ustc.springboot.SpringBoot04JspApplicationTests.txt │ └── test-classes │ └── cn │ └── edu │ └── ustc │ └── springboot │ └── SpringBoot04JspApplicationTests.class ├── spring-boot-05-data ├── .idea │ ├── $CACHE_FILE$ │ ├── compiler.xml │ ├── encodings.xml │ ├── libraries │ │ ├── Maven__ch_qos_logback_logback_classic_1_2_3.xml │ │ ├── Maven__ch_qos_logback_logback_core_1_2_3.xml │ │ ├── Maven__com_alibaba_druid_1_1_21.xml │ │ ├── Maven__com_fasterxml_classmate_1_5_1.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_10_2.xml │ │ ├── Maven__com_jayway_jsonpath_json_path_2_4_0.xml │ │ ├── Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml │ │ ├── Maven__com_zaxxer_HikariCP_3_4_2.xml │ │ ├── Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml │ │ ├── Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml │ │ ├── Maven__jakarta_validation_jakarta_validation_api_2_0_2.xml │ │ ├── Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_2.xml │ │ ├── Maven__log4j_log4j_1_2_17.xml │ │ ├── Maven__mysql_mysql_connector_java_8_0_19.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_1_10_8.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_agent_1_10_8.xml │ │ ├── Maven__net_minidev_accessors_smart_1_2.xml │ │ ├── Maven__net_minidev_json_smart_2_3.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_api_2_12_1.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_to_slf4j_2_12_1.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_31.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_31.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_31.xml │ │ ├── Maven__org_apiguardian_apiguardian_api_1_1_0.xml │ │ ├── Maven__org_assertj_assertj_core_3_13_2.xml │ │ ├── Maven__org_hamcrest_hamcrest_2_1.xml │ │ ├── Maven__org_hibernate_validator_hibernate_validator_6_0_18_Final.xml │ │ ├── Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_api_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_engine_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_params_5_5_2.xml │ │ ├── Maven__org_junit_platform_junit_platform_commons_1_5_2.xml │ │ ├── Maven__org_junit_platform_junit_platform_engine_1_5_2.xml │ │ ├── Maven__org_mockito_mockito_core_3_1_0.xml │ │ ├── Maven__org_mockito_mockito_junit_jupiter_3_1_0.xml │ │ ├── Maven__org_mybatis_mybatis_3_5_4.xml │ │ ├── Maven__org_mybatis_mybatis_spring_2_0_4.xml │ │ ├── Maven__org_mybatis_spring_boot_mybatis_spring_boot_autoconfigure_2_1_2.xml │ │ ├── Maven__org_mybatis_spring_boot_mybatis_spring_boot_starter_2_1_2.xml │ │ ├── Maven__org_objenesis_objenesis_2_6.xml │ │ ├── Maven__org_opentest4j_opentest4j_1_2_0.xml │ │ ├── Maven__org_ow2_asm_asm_5_0_4.xml │ │ ├── Maven__org_skyscreamer_jsonassert_1_5_0.xml │ │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_30.xml │ │ ├── Maven__org_slf4j_slf4j_api_1_7_30.xml │ │ ├── Maven__org_springframework_boot_spring_boot_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_jdbc_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_json_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_test_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_validation_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_web_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_aop_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_beans_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_context_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_core_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_expression_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_jcl_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_jdbc_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_test_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_tx_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_web_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_webmvc_5_2_4_RELEASE.xml │ │ ├── Maven__org_xmlunit_xmlunit_core_2_6_3.xml │ │ └── Maven__org_yaml_snakeyaml_1_25.xml │ ├── misc.xml │ ├── modules.xml │ ├── sqldialects.xml │ └── workspace.xml ├── pom.xml ├── spring-boot-05-data.iml ├── src │ ├── main │ │ ├── java │ │ │ └── cn │ │ │ │ └── edu │ │ │ │ └── ustc │ │ │ │ └── springboot │ │ │ │ ├── SpringBoot05DataApplication.java │ │ │ │ ├── bean │ │ │ │ ├── Department.java │ │ │ │ └── Employee.java │ │ │ │ ├── config │ │ │ │ ├── DruidConfig.java │ │ │ │ └── MyBatisConfig.java │ │ │ │ ├── controller │ │ │ │ ├── DepartmentController.java │ │ │ │ ├── EmployeeController.java │ │ │ │ └── JdbcController.java │ │ │ │ └── mapper │ │ │ │ ├── DepartmentMapper.java │ │ │ │ └── EmployeeMapper.java │ │ └── resources │ │ │ ├── application.properties │ │ │ ├── application.yml │ │ │ ├── department.sql │ │ │ ├── employee.sql │ │ │ └── mybatis │ │ │ ├── mapper │ │ │ └── EmployeeMapper.xml │ │ │ └── mybatis-config.xml │ └── test │ │ └── java │ │ └── cn │ │ └── edu │ │ └── ustc │ │ └── springboot │ │ └── SpringBoot05DataApplicationTests.java └── target │ ├── classes │ ├── META-INF │ │ └── spring-boot-05-data.kotlin_module │ ├── application.properties │ ├── application.yml │ ├── cn │ │ └── edu │ │ │ └── ustc │ │ │ └── springboot │ │ │ ├── SpringBoot05DataApplication.class │ │ │ ├── bean │ │ │ ├── Department.class │ │ │ └── Employee.class │ │ │ ├── config │ │ │ ├── DruidConfig.class │ │ │ ├── MyBatisConfig$1.class │ │ │ └── MyBatisConfig.class │ │ │ ├── controller │ │ │ ├── DepartmentController.class │ │ │ ├── EmployeeController.class │ │ │ └── JdbcController.class │ │ │ └── mapper │ │ │ ├── DepartmentMapper.class │ │ │ └── EmployeeMapper.class │ ├── department.sql │ ├── employee.sql │ └── mybatis │ │ ├── mapper │ │ └── EmployeeMapper.xml │ │ └── mybatis-config.xml │ └── test-classes │ └── cn │ └── edu │ └── ustc │ └── springboot │ └── SpringBoot05DataApplicationTests.class ├── spring-boot-06-jpa ├── .idea │ ├── $CACHE_FILE$ │ ├── compiler.xml │ ├── encodings.xml │ ├── libraries │ │ ├── Maven__antlr_antlr_2_7_7.xml │ │ ├── Maven__ch_qos_logback_logback_classic_1_2_3.xml │ │ ├── Maven__ch_qos_logback_logback_core_1_2_3.xml │ │ ├── Maven__com_fasterxml_classmate_1_5_1.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_10_2.xml │ │ ├── Maven__com_jayway_jsonpath_json_path_2_4_0.xml │ │ ├── Maven__com_sun_istack_istack_commons_runtime_3_0_8.xml │ │ ├── Maven__com_sun_xml_fastinfoset_FastInfoset_1_2_16.xml │ │ ├── Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml │ │ ├── Maven__com_zaxxer_HikariCP_3_4_2.xml │ │ ├── Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml │ │ ├── Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml │ │ ├── Maven__jakarta_persistence_jakarta_persistence_api_2_2_3.xml │ │ ├── Maven__jakarta_transaction_jakarta_transaction_api_1_3_3.xml │ │ ├── Maven__jakarta_validation_jakarta_validation_api_2_0_2.xml │ │ ├── Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_2.xml │ │ ├── Maven__mysql_mysql_connector_java_8_0_19.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_1_10_8.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_agent_1_10_8.xml │ │ ├── Maven__net_minidev_accessors_smart_1_2.xml │ │ ├── Maven__net_minidev_json_smart_2_3.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_api_2_12_1.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_to_slf4j_2_12_1.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_31.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_31.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_31.xml │ │ ├── Maven__org_apiguardian_apiguardian_api_1_1_0.xml │ │ ├── Maven__org_aspectj_aspectjweaver_1_9_5.xml │ │ ├── Maven__org_assertj_assertj_core_3_13_2.xml │ │ ├── Maven__org_dom4j_dom4j_2_1_1.xml │ │ ├── Maven__org_glassfish_jaxb_jaxb_runtime_2_3_2.xml │ │ ├── Maven__org_glassfish_jaxb_txw2_2_3_2.xml │ │ ├── Maven__org_hamcrest_hamcrest_2_1.xml │ │ ├── Maven__org_hibernate_common_hibernate_commons_annotations_5_1_0_Final.xml │ │ ├── Maven__org_hibernate_hibernate_core_5_4_12_Final.xml │ │ ├── Maven__org_hibernate_validator_hibernate_validator_6_0_18_Final.xml │ │ ├── Maven__org_javassist_javassist_3_24_0_GA.xml │ │ ├── Maven__org_jboss_jandex_2_1_1_Final.xml │ │ ├── Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_api_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_engine_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_params_5_5_2.xml │ │ ├── Maven__org_junit_platform_junit_platform_commons_1_5_2.xml │ │ ├── Maven__org_junit_platform_junit_platform_engine_1_5_2.xml │ │ ├── Maven__org_jvnet_staxex_stax_ex_1_8_1.xml │ │ ├── Maven__org_mockito_mockito_core_3_1_0.xml │ │ ├── Maven__org_mockito_mockito_junit_jupiter_3_1_0.xml │ │ ├── Maven__org_objenesis_objenesis_2_6.xml │ │ ├── Maven__org_opentest4j_opentest4j_1_2_0.xml │ │ ├── Maven__org_ow2_asm_asm_5_0_4.xml │ │ ├── Maven__org_skyscreamer_jsonassert_1_5_0.xml │ │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_30.xml │ │ ├── Maven__org_slf4j_slf4j_api_1_7_30.xml │ │ ├── Maven__org_springframework_boot_spring_boot_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_aop_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_data_jpa_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_jdbc_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_json_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_test_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_validation_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_web_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_data_spring_data_commons_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_data_spring_data_jpa_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_aop_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_aspects_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_beans_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_context_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_core_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_expression_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_jcl_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_jdbc_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_orm_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_test_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_tx_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_web_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_webmvc_5_2_4_RELEASE.xml │ │ ├── Maven__org_xmlunit_xmlunit_core_2_6_3.xml │ │ └── Maven__org_yaml_snakeyaml_1_25.xml │ ├── misc.xml │ ├── modules.xml │ └── workspace.xml ├── pom.xml ├── spring-boot-06-jpa.iml ├── src │ ├── main │ │ ├── java │ │ │ └── cn │ │ │ │ └── edu │ │ │ │ └── ustc │ │ │ │ └── springboot │ │ │ │ ├── SpringBoot06JpaApplication.java │ │ │ │ ├── controller │ │ │ │ └── UserController.java │ │ │ │ ├── domain │ │ │ │ └── User.java │ │ │ │ └── repository │ │ │ │ └── UserRepository.java │ │ └── resources │ │ │ ├── application.properties │ │ │ └── application.yml │ └── test │ │ └── java │ │ └── cn │ │ └── edu │ │ └── ustc │ │ └── springboot │ │ └── SpringBoot06JpaApplicationTests.java └── target │ ├── classes │ ├── application.properties │ ├── application.yml │ └── cn │ │ └── edu │ │ └── ustc │ │ └── springboot │ │ ├── SpringBoot06JpaApplication.class │ │ ├── controller │ │ └── UserController.class │ │ ├── domain │ │ └── User.class │ │ └── repository │ │ └── UserRepository.class │ └── test-classes │ └── cn │ └── edu │ └── ustc │ └── springboot │ └── SpringBoot06JpaApplicationTests.class ├── spring-boot-07-mystarter ├── .idea │ ├── $CACHE_FILE$ │ ├── compiler.xml │ ├── encodings.xml │ ├── libraries │ │ ├── Maven__ch_qos_logback_logback_classic_1_2_3.xml │ │ ├── Maven__ch_qos_logback_logback_core_1_2_3.xml │ │ ├── Maven__com_fasterxml_classmate_1_5_1.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_10_2.xml │ │ ├── Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_10_2.xml │ │ ├── Maven__com_jayway_jsonpath_json_path_2_4_0.xml │ │ ├── Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml │ │ ├── Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml │ │ ├── Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml │ │ ├── Maven__jakarta_validation_jakarta_validation_api_2_0_2.xml │ │ ├── Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_2.xml │ │ ├── Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_1_10_8.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_agent_1_10_8.xml │ │ ├── Maven__net_minidev_accessors_smart_1_2.xml │ │ ├── Maven__net_minidev_json_smart_2_3.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_api_2_12_1.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_to_slf4j_2_12_1.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_31.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_31.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_31.xml │ │ ├── Maven__org_apiguardian_apiguardian_api_1_1_0.xml │ │ ├── Maven__org_assertj_assertj_core_3_13_2.xml │ │ ├── Maven__org_hamcrest_hamcrest_2_1.xml │ │ ├── Maven__org_hibernate_validator_hibernate_validator_6_0_18_Final.xml │ │ ├── Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_api_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_engine_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_params_5_5_2.xml │ │ ├── Maven__org_junit_platform_junit_platform_commons_1_5_2.xml │ │ ├── Maven__org_junit_platform_junit_platform_engine_1_5_2.xml │ │ ├── Maven__org_mockito_mockito_core_3_1_0.xml │ │ ├── Maven__org_mockito_mockito_junit_jupiter_3_1_0.xml │ │ ├── Maven__org_objenesis_objenesis_2_6.xml │ │ ├── Maven__org_opentest4j_opentest4j_1_2_0.xml │ │ ├── Maven__org_ow2_asm_asm_5_0_4.xml │ │ ├── Maven__org_skyscreamer_jsonassert_1_5_0.xml │ │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_30.xml │ │ ├── Maven__org_slf4j_slf4j_api_1_7_30.xml │ │ ├── Maven__org_springframework_boot_spring_boot_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_json_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_test_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_test_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_validation_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_web_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_spring_aop_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_aop_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_beans_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_beans_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_context_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_context_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_core_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_core_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_expression_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_expression_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_jcl_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_jcl_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_test_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_test_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_web_5_2_4_RELEASE.xml │ │ ├── Maven__org_springframework_spring_webmvc_5_2_4_RELEASE.xml │ │ ├── Maven__org_xmlunit_xmlunit_core_2_6_3.xml │ │ ├── Maven__org_xmlunit_xmlunit_core_2_6_4.xml │ │ └── Maven__org_yaml_snakeyaml_1_25.xml │ ├── misc.xml │ ├── modules.xml │ └── workspace.xml ├── mystarter-spring-boot-starter-autoconfigure │ ├── .gitignore │ ├── .mvn │ │ └── wrapper │ │ │ ├── MavenWrapperDownloader.java │ │ │ ├── maven-wrapper.jar │ │ │ └── maven-wrapper.properties │ ├── mvnw │ ├── mvnw.cmd │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── cn │ │ │ └── edu │ │ │ └── ustc │ │ │ └── springboot │ │ │ └── autoconfigure │ │ │ ├── MystarterSpringBootStarterAutoconfigureApplication.java │ │ │ ├── config │ │ │ └── HelloServiceAutoConfiguration.java │ │ │ ├── properties │ │ │ └── HelloProperties.java │ │ │ └── service │ │ │ └── HelloService.java │ │ └── resources │ │ ├── META-INF │ │ └── spring.factories │ │ └── application.properties ├── mystarter-spring-boot-starter │ ├── .gitignore │ ├── .mvn │ │ └── wrapper │ │ │ ├── MavenWrapperDownloader.java │ │ │ ├── maven-wrapper.jar │ │ │ └── maven-wrapper.properties │ ├── mvnw │ ├── mvnw.cmd │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── cn │ │ │ └── ustc │ │ │ └── edu │ │ │ └── springboot │ │ │ └── starter │ │ │ └── MystarterSpringBootStarterApplication.java │ │ └── resources │ │ └── application.properties └── test-starter │ ├── .gitignore │ ├── .mvn │ └── wrapper │ │ ├── MavenWrapperDownloader.java │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties │ ├── mvnw │ ├── mvnw.cmd │ ├── pom.xml │ └── src │ ├── main │ ├── java │ │ └── cn │ │ │ └── edu │ │ │ └── ustc │ │ │ └── teststarter │ │ │ ├── TestStarterApplication.java │ │ │ └── controller │ │ │ └── HelloController.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── cn │ └── edu │ └── ustc │ └── teststarter │ └── TestStarterApplicationTests.java ├── spring-boot-08-cache ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── MavenWrapperDownloader.java │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── cn │ │ │ └── edu │ │ │ └── ustc │ │ │ └── springboot │ │ │ ├── SpringBoot08CacheApplication.java │ │ │ ├── bean │ │ │ ├── Department.java │ │ │ └── Employee.java │ │ │ ├── config │ │ │ ├── MyCacheConfig.java │ │ │ └── MyRedisConfig.java │ │ │ ├── controller │ │ │ └── EmployeeController.java │ │ │ ├── mapper │ │ │ ├── DepartmentMapper.java │ │ │ └── EmployeeMapper.java │ │ │ └── service │ │ │ └── EmployeeService.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── cn │ └── edu │ └── ustc │ └── springboot │ └── SpringBoot08CacheApplicationTests.java ├── spring-boot-09-rabbitmq ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── MavenWrapperDownloader.java │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── cn │ │ │ └── edu │ │ │ └── ustc │ │ │ └── springboot │ │ │ ├── SpringBoot09RabbitmqApplication.java │ │ │ ├── bean │ │ │ ├── Book.java │ │ │ └── Student.java │ │ │ ├── config │ │ │ └── AmqpConfig.java │ │ │ ├── controller │ │ │ └── SendController.java │ │ │ └── service │ │ │ └── BookService.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── cn │ └── edu │ └── ustc │ └── springboot │ └── SpringBoot09RabbitmqApplicationTests.java ├── spring-boot-10-elasticsearch ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── MavenWrapperDownloader.java │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── cn │ │ │ └── edu │ │ │ └── ustc │ │ │ └── springboot │ │ │ ├── SpringBoot10ElasticsearchApplication.java │ │ │ ├── bean │ │ │ └── Book.java │ │ │ ├── config │ │ │ └── ESConfig.java │ │ │ └── repository │ │ │ └── BookRepository.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── cn │ └── edu │ └── ustc │ └── springboot │ └── SpringBoot10ElasticsearchApplicationTests.java ├── spring-boot-11-task ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── MavenWrapperDownloader.java │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── cn │ │ │ └── edu │ │ │ └── ustc │ │ │ └── springboot │ │ │ ├── SpringBoot11TaskApplication.java │ │ │ ├── controller │ │ │ └── AsyncController.java │ │ │ └── service │ │ │ ├── AsyncService.java │ │ │ └── ScheduleService.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── cn │ └── edu │ └── ustc │ └── springboot │ └── SpringBoot11TaskApplicationTests.java ├── spring-boot-12-security ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── MavenWrapperDownloader.java │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── cn │ │ │ └── edu │ │ │ └── ustc │ │ │ └── springboot │ │ │ ├── SpringBoot12SecurityApplication.java │ │ │ ├── config │ │ │ └── MySecurityConfig.java │ │ │ └── controller │ │ │ └── KungfuController.java │ └── resources │ │ ├── application.properties │ │ └── templates │ │ ├── pages │ │ ├── level1 │ │ │ ├── 1.html │ │ │ ├── 2.html │ │ │ └── 3.html │ │ ├── level2 │ │ │ ├── 1.html │ │ │ ├── 2.html │ │ │ └── 3.html │ │ ├── level3 │ │ │ ├── 1.html │ │ │ ├── 2.html │ │ │ └── 3.html │ │ └── login.html │ │ └── welcome.html │ └── test │ └── java │ └── cn │ └── edu │ └── ustc │ └── springboot │ └── SpringBoot12SecurityApplicationTests.java ├── spring-boot-13-dubbo ├── .idea │ ├── $CACHE_FILE$ │ ├── checkstyle-idea.xml │ ├── compiler.xml │ ├── encodings.xml │ ├── libraries │ │ ├── Maven__ch_qos_logback_logback_classic_1_2_3.xml │ │ ├── Maven__ch_qos_logback_logback_core_1_2_3.xml │ │ ├── Maven__com_alibaba_spring_spring_context_support_1_0_6.xml │ │ ├── Maven__com_github_sgroschupf_zkclient_0_1.xml │ │ ├── Maven__com_google_code_findbugs_jsr305_3_0_2.xml │ │ ├── Maven__com_google_code_gson_gson_2_8_6.xml │ │ ├── Maven__com_google_errorprone_error_prone_annotations_2_2_0.xml │ │ ├── Maven__com_google_guava_failureaccess_1_0_1.xml │ │ ├── Maven__com_google_guava_guava_27_0_1_jre.xml │ │ ├── Maven__com_google_guava_listenablefuture_9999_0_empty_to_avoid_conflict_with_guava.xml │ │ ├── Maven__com_google_j2objc_j2objc_annotations_1_1.xml │ │ ├── Maven__com_jayway_jsonpath_json_path_2_4_0.xml │ │ ├── Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml │ │ ├── Maven__io_netty_netty_all_4_1_48_Final.xml │ │ ├── Maven__io_netty_netty_buffer_4_1_48_Final.xml │ │ ├── Maven__io_netty_netty_codec_4_1_48_Final.xml │ │ ├── Maven__io_netty_netty_common_4_1_48_Final.xml │ │ ├── Maven__io_netty_netty_handler_4_1_48_Final.xml │ │ ├── Maven__io_netty_netty_resolver_4_1_48_Final.xml │ │ ├── Maven__io_netty_netty_transport_4_1_48_Final.xml │ │ ├── Maven__io_netty_netty_transport_native_epoll_4_1_48_Final.xml │ │ ├── Maven__io_netty_netty_transport_native_unix_common_4_1_48_Final.xml │ │ ├── Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml │ │ ├── Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml │ │ ├── Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml │ │ ├── Maven__log4j_log4j_1_2_14.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_1_10_8.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_agent_1_10_8.xml │ │ ├── Maven__net_minidev_accessors_smart_1_2.xml │ │ ├── Maven__net_minidev_json_smart_2_3.xml │ │ ├── Maven__org_apache_curator_curator_client_4_3_0.xml │ │ ├── Maven__org_apache_curator_curator_framework_4_3_0.xml │ │ ├── Maven__org_apache_curator_curator_recipes_4_3_0.xml │ │ ├── Maven__org_apache_dubbo_dubbo_2_7_6.xml │ │ ├── Maven__org_apache_dubbo_dubbo_spring_boot_autoconfigure_2_7_6.xml │ │ ├── Maven__org_apache_dubbo_dubbo_spring_boot_autoconfigure_compatible_2_7_6.xml │ │ ├── Maven__org_apache_dubbo_dubbo_spring_boot_starter_2_7_6.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_api_2_12_1.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_to_slf4j_2_12_1.xml │ │ ├── Maven__org_apache_yetus_audience_annotations_0_5_0.xml │ │ ├── Maven__org_apache_zookeeper_zookeeper_3_5_7.xml │ │ ├── Maven__org_apache_zookeeper_zookeeper_jute_3_5_7.xml │ │ ├── Maven__org_apiguardian_apiguardian_api_1_1_0.xml │ │ ├── Maven__org_assertj_assertj_core_3_13_2.xml │ │ ├── Maven__org_checkerframework_checker_qual_2_5_2.xml │ │ ├── Maven__org_codehaus_mojo_animal_sniffer_annotations_1_17.xml │ │ ├── Maven__org_hamcrest_hamcrest_2_1.xml │ │ ├── Maven__org_javassist_javassist_3_20_0_GA.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_api_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_engine_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_params_5_5_2.xml │ │ ├── Maven__org_junit_platform_junit_platform_commons_1_5_2.xml │ │ ├── Maven__org_junit_platform_junit_platform_engine_1_5_2.xml │ │ ├── Maven__org_mockito_mockito_core_3_1_0.xml │ │ ├── Maven__org_mockito_mockito_junit_jupiter_3_1_0.xml │ │ ├── Maven__org_objenesis_objenesis_2_6.xml │ │ ├── Maven__org_opentest4j_opentest4j_1_2_0.xml │ │ ├── Maven__org_ow2_asm_asm_5_0_4.xml │ │ ├── Maven__org_skyscreamer_jsonassert_1_5_0.xml │ │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_30.xml │ │ ├── Maven__org_slf4j_slf4j_api_1_7_30.xml │ │ ├── Maven__org_springframework_boot_spring_boot_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_test_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_spring_aop_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_beans_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_context_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_core_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_expression_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_jcl_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_test_5_2_5_RELEASE.xml │ │ ├── Maven__org_xmlunit_xmlunit_core_2_6_4.xml │ │ └── Maven__org_yaml_snakeyaml_1_25.xml │ ├── misc.xml │ ├── modules.xml │ └── workspace.xml ├── consumer-user │ ├── .gitignore │ ├── .mvn │ │ └── wrapper │ │ │ ├── MavenWrapperDownloader.java │ │ │ ├── maven-wrapper.jar │ │ │ └── maven-wrapper.properties │ ├── mvnw │ ├── mvnw.cmd │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── cn │ │ │ │ └── edu │ │ │ │ └── ustc │ │ │ │ ├── ConsumerUserApplication.java │ │ │ │ └── service │ │ │ │ ├── TicketService.java │ │ │ │ └── UserService.java │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── java │ │ └── cn │ │ └── edu │ │ └── ustc │ │ └── ConsumerUserApplicationTests.java └── provider-ticket │ ├── .gitignore │ ├── .mvn │ └── wrapper │ │ ├── MavenWrapperDownloader.java │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties │ ├── mvnw │ ├── mvnw.cmd │ ├── pom.xml │ └── src │ ├── main │ ├── java │ │ └── cn │ │ │ └── edu │ │ │ └── ustc │ │ │ ├── ProviderTicketApplication.java │ │ │ └── service │ │ │ ├── TicketService.java │ │ │ └── TicketServiceImpl.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── cn │ └── edu │ └── ustc │ └── ProviderTicketApplicationTests.java ├── spring-boot-13-springcloud ├── .idea │ ├── $CACHE_FILE$ │ ├── checkstyle-idea.xml │ ├── compiler.xml │ ├── encodings.xml │ ├── libraries │ │ ├── Maven__antlr_antlr_2_7_7.xml │ │ ├── Maven__aopalliance_aopalliance_1_0.xml │ │ ├── Maven__ch_qos_logback_logback_classic_1_2_3.xml │ │ ├── Maven__ch_qos_logback_logback_core_1_2_3.xml │ │ ├── Maven__com_fasterxml_classmate_1_5_1.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_10_3.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_10_3.xml │ │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_10_3.xml │ │ ├── Maven__com_fasterxml_jackson_dataformat_jackson_dataformat_xml_2_10_3.xml │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_10_3.xml │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_10_3.xml │ │ ├── Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_10_3.xml │ │ ├── Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_10_3.xml │ │ ├── Maven__com_fasterxml_woodstox_woodstox_core_5_2_1.xml │ │ ├── Maven__com_google_code_findbugs_jsr305_3_0_1.xml │ │ ├── Maven__com_google_code_gson_gson_2_8_6.xml │ │ ├── Maven__com_google_errorprone_error_prone_annotations_2_3_4.xml │ │ ├── Maven__com_google_guava_failureaccess_1_0_1.xml │ │ ├── Maven__com_google_guava_guava_28_2_android.xml │ │ ├── Maven__com_google_guava_listenablefuture_9999_0_empty_to_avoid_conflict_with_guava.xml │ │ ├── Maven__com_google_inject_guice_4_1_0.xml │ │ ├── Maven__com_google_j2objc_j2objc_annotations_1_3.xml │ │ ├── Maven__com_jayway_jsonpath_json_path_2_4_0.xml │ │ ├── Maven__com_netflix_archaius_archaius_core_0_7_6.xml │ │ ├── Maven__com_netflix_eureka_eureka_client_1_9_17.xml │ │ ├── Maven__com_netflix_eureka_eureka_core_1_9_17.xml │ │ ├── Maven__com_netflix_hystrix_hystrix_core_1_5_18.xml │ │ ├── Maven__com_netflix_netflix_commons_netflix_commons_util_0_3_0.xml │ │ ├── Maven__com_netflix_netflix_commons_netflix_eventbus_0_3_0.xml │ │ ├── Maven__com_netflix_netflix_commons_netflix_infix_0_3_0.xml │ │ ├── Maven__com_netflix_netflix_commons_netflix_statistics_0_1_1.xml │ │ ├── Maven__com_netflix_ribbon_ribbon_2_3_0.xml │ │ ├── Maven__com_netflix_ribbon_ribbon_core_2_3_0.xml │ │ ├── Maven__com_netflix_ribbon_ribbon_eureka_2_3_0.xml │ │ ├── Maven__com_netflix_ribbon_ribbon_httpclient_2_3_0.xml │ │ ├── Maven__com_netflix_ribbon_ribbon_loadbalancer_2_3_0.xml │ │ ├── Maven__com_netflix_ribbon_ribbon_transport_2_3_0.xml │ │ ├── Maven__com_netflix_servo_servo_core_0_12_21.xml │ │ ├── Maven__com_stoyanr_evictor_1_0_0.xml │ │ ├── Maven__com_sun_istack_istack_commons_runtime_3_0_8.xml │ │ ├── Maven__com_sun_jersey_contribs_jersey_apache_client4_1_19_1.xml │ │ ├── Maven__com_sun_jersey_jersey_client_1_19_1.xml │ │ ├── Maven__com_sun_jersey_jersey_core_1_19_1.xml │ │ ├── Maven__com_sun_jersey_jersey_server_1_19_1.xml │ │ ├── Maven__com_sun_jersey_jersey_servlet_1_19_1.xml │ │ ├── Maven__com_sun_xml_fastinfoset_FastInfoset_1_2_16.xml │ │ ├── Maven__com_thoughtworks_xstream_xstream_1_4_11_1.xml │ │ ├── Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml │ │ ├── Maven__commons_codec_commons_codec_1_13.xml │ │ ├── Maven__commons_collections_commons_collections_3_2_2.xml │ │ ├── Maven__commons_configuration_commons_configuration_1_8.xml │ │ ├── Maven__commons_jxpath_commons_jxpath_1_3.xml │ │ ├── Maven__commons_lang_commons_lang_2_6.xml │ │ ├── Maven__io_micrometer_micrometer_core_1_3_6.xml │ │ ├── Maven__io_projectreactor_addons_reactor_extra_3_3_3_RELEASE.xml │ │ ├── Maven__io_projectreactor_reactor_core_3_3_4_RELEASE.xml │ │ ├── Maven__io_reactivex_rxjava_1_3_8.xml │ │ ├── Maven__io_reactivex_rxnetty_0_4_9.xml │ │ ├── Maven__io_reactivex_rxnetty_contexts_0_4_9.xml │ │ ├── Maven__io_reactivex_rxnetty_servo_0_4_9.xml │ │ ├── Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml │ │ ├── Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml │ │ ├── Maven__jakarta_validation_jakarta_validation_api_2_0_2.xml │ │ ├── Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml │ │ ├── Maven__javax_inject_javax_inject_1.xml │ │ ├── Maven__javax_ws_rs_jsr311_api_1_1_1.xml │ │ ├── Maven__joda_time_joda_time_2_10_5.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_1_10_8.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_agent_1_10_8.xml │ │ ├── Maven__net_minidev_accessors_smart_1_2.xml │ │ ├── Maven__net_minidev_json_smart_2_3.xml │ │ ├── Maven__org_antlr_antlr_runtime_3_4.xml │ │ ├── Maven__org_antlr_stringtemplate_3_2_1.xml │ │ ├── Maven__org_apache_commons_commons_math_2_2.xml │ │ ├── Maven__org_apache_httpcomponents_httpclient_4_5_12.xml │ │ ├── Maven__org_apache_httpcomponents_httpcore_4_4_13.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_api_2_12_1.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_to_slf4j_2_12_1.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_33.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_el_9_0_33.xml │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_33.xml │ │ ├── Maven__org_apiguardian_apiguardian_api_1_1_0.xml │ │ ├── Maven__org_aspectj_aspectjweaver_1_9_5.xml │ │ ├── Maven__org_assertj_assertj_core_3_13_2.xml │ │ ├── Maven__org_bouncycastle_bcpkix_jdk15on_1_64.xml │ │ ├── Maven__org_bouncycastle_bcprov_jdk15on_1_64.xml │ │ ├── Maven__org_checkerframework_checker_compat_qual_2_5_5.xml │ │ ├── Maven__org_codehaus_jettison_jettison_1_3_7.xml │ │ ├── Maven__org_codehaus_woodstox_stax2_api_4_2.xml │ │ ├── Maven__org_freemarker_freemarker_2_3_30.xml │ │ ├── Maven__org_glassfish_jaxb_jaxb_runtime_2_3_2.xml │ │ ├── Maven__org_glassfish_jaxb_txw2_2_3_2.xml │ │ ├── Maven__org_hamcrest_hamcrest_2_1.xml │ │ ├── Maven__org_hdrhistogram_HdrHistogram_2_1_11.xml │ │ ├── Maven__org_hdrhistogram_HdrHistogram_2_1_9.xml │ │ ├── Maven__org_hibernate_validator_hibernate_validator_6_0_18_Final.xml │ │ ├── Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_api_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_engine_5_5_2.xml │ │ ├── Maven__org_junit_jupiter_junit_jupiter_params_5_5_2.xml │ │ ├── Maven__org_junit_platform_junit_platform_commons_1_5_2.xml │ │ ├── Maven__org_junit_platform_junit_platform_engine_1_5_2.xml │ │ ├── Maven__org_jvnet_staxex_stax_ex_1_8_1.xml │ │ ├── Maven__org_latencyutils_LatencyUtils_2_0_3.xml │ │ ├── Maven__org_mockito_mockito_core_3_1_0.xml │ │ ├── Maven__org_mockito_mockito_junit_jupiter_3_1_0.xml │ │ ├── Maven__org_objenesis_objenesis_2_6.xml │ │ ├── Maven__org_opentest4j_opentest4j_1_2_0.xml │ │ ├── Maven__org_ow2_asm_asm_5_0_4.xml │ │ ├── Maven__org_reactivestreams_reactive_streams_1_0_3.xml │ │ ├── Maven__org_skyscreamer_jsonassert_1_5_0.xml │ │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_30.xml │ │ ├── Maven__org_slf4j_slf4j_api_1_7_30.xml │ │ ├── Maven__org_springframework_boot_spring_boot_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_actuator_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_actuator_autoconfigure_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_actuator_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_aop_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_cache_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_freemarker_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_json_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_test_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_validation_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_starter_web_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_2_6_RELEASE.xml │ │ ├── Maven__org_springframework_cloud_spring_cloud_commons_2_2_2_RELEASE.xml │ │ ├── Maven__org_springframework_cloud_spring_cloud_context_2_2_2_RELEASE.xml │ │ ├── Maven__org_springframework_cloud_spring_cloud_loadbalancer_2_2_2_RELEASE.xml │ │ ├── Maven__org_springframework_cloud_spring_cloud_netflix_archaius_2_2_2_RELEASE.xml │ │ ├── Maven__org_springframework_cloud_spring_cloud_netflix_eureka_client_2_2_2_RELEASE.xml │ │ ├── Maven__org_springframework_cloud_spring_cloud_netflix_eureka_server_2_2_2_RELEASE.xml │ │ ├── Maven__org_springframework_cloud_spring_cloud_netflix_hystrix_2_2_2_RELEASE.xml │ │ ├── Maven__org_springframework_cloud_spring_cloud_netflix_ribbon_2_2_2_RELEASE.xml │ │ ├── Maven__org_springframework_cloud_spring_cloud_starter_2_2_2_RELEASE.xml │ │ ├── Maven__org_springframework_cloud_spring_cloud_starter_loadbalancer_2_2_2_RELEASE.xml │ │ ├── Maven__org_springframework_cloud_spring_cloud_starter_netflix_archaius_2_2_2_RELEASE.xml │ │ ├── Maven__org_springframework_cloud_spring_cloud_starter_netflix_eureka_client_2_2_2_RELEASE.xml │ │ ├── Maven__org_springframework_cloud_spring_cloud_starter_netflix_eureka_server_2_2_2_RELEASE.xml │ │ ├── Maven__org_springframework_cloud_spring_cloud_starter_netflix_ribbon_2_2_2_RELEASE.xml │ │ ├── Maven__org_springframework_security_spring_security_crypto_5_2_2_RELEASE.xml │ │ ├── Maven__org_springframework_security_spring_security_rsa_1_0_9_RELEASE.xml │ │ ├── Maven__org_springframework_spring_aop_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_beans_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_context_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_context_support_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_core_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_expression_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_jcl_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_test_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_web_5_2_5_RELEASE.xml │ │ ├── Maven__org_springframework_spring_webmvc_5_2_5_RELEASE.xml │ │ ├── Maven__org_xmlunit_xmlunit_core_2_6_4.xml │ │ ├── Maven__org_yaml_snakeyaml_1_25.xml │ │ ├── Maven__stax_stax_api_1_0_1.xml │ │ ├── Maven__xmlpull_xmlpull_1_1_3_1.xml │ │ └── Maven__xpp3_xpp3_min_1_1_4c.xml │ ├── misc.xml │ ├── modules.xml │ └── workspace.xml ├── consumer-user │ ├── .gitignore │ ├── .mvn │ │ └── wrapper │ │ │ ├── MavenWrapperDownloader.java │ │ │ ├── maven-wrapper.jar │ │ │ └── maven-wrapper.properties │ ├── mvnw │ ├── mvnw.cmd │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── cn │ │ │ │ └── edu │ │ │ │ └── ustc │ │ │ │ └── consumer │ │ │ │ ├── ConsumerUserApplication.java │ │ │ │ └── controller │ │ │ │ └── UserController.java │ │ └── resources │ │ │ ├── application.properties │ │ │ └── application.yml │ │ └── test │ │ └── java │ │ └── cn │ │ └── edu │ │ └── ustc │ │ └── consumer │ │ └── ConsumerUserApplicationTests.java ├── eureka-server │ ├── .gitignore │ ├── .mvn │ │ └── wrapper │ │ │ ├── MavenWrapperDownloader.java │ │ │ ├── maven-wrapper.jar │ │ │ └── maven-wrapper.properties │ ├── mvnw │ ├── mvnw.cmd │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── cn │ │ │ │ └── edu │ │ │ │ └── ustc │ │ │ │ └── eurekaserver │ │ │ │ └── EurekaServerApplication.java │ │ └── resources │ │ │ ├── application.properties │ │ │ └── application.yml │ │ └── test │ │ └── java │ │ └── cn │ │ └── edu │ │ └── ustc │ │ └── eurekaserver │ │ └── EurekaServerApplicationTests.java └── provider-user │ ├── .gitignore │ ├── .mvn │ └── wrapper │ │ ├── MavenWrapperDownloader.java │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties │ ├── mvnw │ ├── mvnw.cmd │ ├── pom.xml │ └── src │ ├── main │ ├── java │ │ └── cn │ │ │ └── edu │ │ │ └── ustc │ │ │ └── provider │ │ │ ├── ProviderUserApplication.java │ │ │ ├── controller │ │ │ └── TicketController.java │ │ │ └── service │ │ │ └── TicketService.java │ └── resources │ │ ├── application.properties │ │ └── application.yml │ └── test │ └── java │ └── cn │ └── edu │ └── ustc │ └── provider │ └── ProviderUserApplicationTests.java ├── spring-boot-14-deploy ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── MavenWrapperDownloader.java │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── cn │ │ │ └── edu │ │ │ └── ustc │ │ │ └── springboot14deploy │ │ │ ├── SpringBoot14DeployApplication.java │ │ │ └── controller │ │ │ └── HelloController.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── cn │ └── edu │ └── ustc │ └── springboot14deploy │ └── SpringBoot14DeployApplicationTests.java └── spring-boot-15-actuator ├── .gitignore ├── .mvn └── wrapper │ ├── MavenWrapperDownloader.java │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src ├── main ├── java │ └── cn │ │ └── edu │ │ └── ustc │ │ └── springboot │ │ └── SpringBoot15ActuatorApplication.java └── resources │ └── application.properties └── test └── java └── cn └── edu └── ustc └── springboot └── SpringBoot15ActuatorApplicationTests.java /.gitattributes: -------------------------------------------------------------------------------- 1 | *.js linguist-language=java 2 | *.css linguist-language=java 3 | *.html linguist-language=java 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Spring Boot 2 | 3 | **Spring Boot的demo,跟着b站雷丰阳课程敲得,包括核心篇+高级篇,核心篇包括入门、Web、数据访问、Docker,高级篇包括缓存、消息、检索、任务、安全、分布式、监控,内容很全,web部分也很深入包括源码分析。** 4 | 5 | **由于老师的课程是采用1.x,核心篇的笔记我是在老师的基础上替换为2.x并补充了部分内容,高级篇完全是个人一点一点手敲的,如果觉得有帮助帮忙点个星吧😬** 6 | 7 | **笔记在本仓库的docs文件夹内,在线版可访问https://niceseason.github.io/2020/04/18/springboot/** 8 | -------------------------------------------------------------------------------- /spring-boot-01-hello/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /spring-boot-01-hello/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-boot-01-hello/SpringBoot_hello.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot-01-hello/src/main/java/cn/edu/ustc/HelloController.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.web.bind.annotation.RequestMapping; 5 | import org.springframework.web.bind.annotation.ResponseBody; 6 | 7 | @Controller 8 | public class HelloController { 9 | @ResponseBody 10 | @RequestMapping("/hello") 11 | public String hello() { 12 | return "Hello World"; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /spring-boot-01-hello/src/main/java/cn/edu/ustc/HelloWorldApplication.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class HelloWorldApplication { 8 | public static void main(String[] args) { 9 | SpringApplication.run(HelloWorldApplication.class); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /spring-boot-01-hello/target/classes/cn/edu/ustc/HelloController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-01-hello/target/classes/cn/edu/ustc/HelloController.class -------------------------------------------------------------------------------- /spring-boot-01-hello/target/classes/cn/edu/ustc/HelloWorldApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-01-hello/target/classes/cn/edu/ustc/HelloWorldApplication.class -------------------------------------------------------------------------------- /spring-boot-02-config/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /spring-boot-02-config/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-02-config/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-02-config/.idea/libraries/Maven__org_hamcrest_hamcrest_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-02-config/.idea/libraries/Maven__org_mockito_mockito_core_3_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-02-config/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-02-config/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-02-config/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-02-config/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-02-config/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-02-config/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_6_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-02-config/.idea/libraries/Maven__org_yaml_snakeyaml_1_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-02-config/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-02-config/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-02-config/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 9111 -------------------------------------------------------------------------------- /spring-boot-02-config/config/application.yml: -------------------------------------------------------------------------------- 1 | # 优先级最高 2 | server: 3 | port: 9222 -------------------------------------------------------------------------------- /spring-boot-02-config/src/main/java/cn/ustc/edu/springboot02config/SpringBoot02ConfigApplication.java: -------------------------------------------------------------------------------- 1 | package cn.ustc.edu.springboot02config; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.context.annotation.ImportResource; 6 | 7 | //@ImportResource(locations = {"classpath:bean.xml"}) 8 | @SpringBootApplication 9 | public class SpringBoot02ConfigApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(SpringBoot02ConfigApplication.class, args); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot-02-config/src/main/java/cn/ustc/edu/springboot02config/config/MyConfiguration.java: -------------------------------------------------------------------------------- 1 | package cn.ustc.edu.springboot02config.config; 2 | 3 | import cn.ustc.edu.springboot02config.service.ConfigService; 4 | import org.springframework.context.annotation.Bean; 5 | import org.springframework.context.annotation.Configuration; 6 | 7 | /** 8 | * 使用@Configuration 和 @Bean 替代配置文件 9 | * 将Service组件导入到容器中 10 | */ 11 | @Configuration 12 | public class MyConfiguration { 13 | @Bean 14 | public ConfigService createService() { 15 | System.out.println("配置类给容器中添加组件了"); 16 | return new ConfigService(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /spring-boot-02-config/src/main/java/cn/ustc/edu/springboot02config/controller/ConfigController.java: -------------------------------------------------------------------------------- 1 | package cn.ustc.edu.springboot02config.controller; 2 | 3 | import org.springframework.web.bind.annotation.RequestMapping; 4 | import org.springframework.web.bind.annotation.RestController; 5 | 6 | @RestController 7 | public class ConfigController { 8 | 9 | @RequestMapping("/config") 10 | public String testConfig() { 11 | return "hello Config!!"; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-02-config/src/main/java/cn/ustc/edu/springboot02config/service/ConfigService.java: -------------------------------------------------------------------------------- 1 | package cn.ustc.edu.springboot02config.service; 2 | 3 | public class ConfigService { 4 | } 5 | -------------------------------------------------------------------------------- /spring-boot-02-config/src/main/resources/application-dev.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8082 -------------------------------------------------------------------------------- /spring-boot-02-config/src/main/resources/application-prod.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8081 -------------------------------------------------------------------------------- /spring-boot-02-config/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | #person.last_name=\u5F20\u4E09 2 | #person.age=18 3 | #person.boss=true 4 | #person.birth=2010/01/01 5 | #person.maps.k1=mmm 6 | #person.maps.v1=aaa 7 | #person.maps.k2=dog 8 | #person.maps.v2.dog.name=xiaobei 9 | #person.maps.v2.dog.age=3 10 | #person.lists={abc,def,ghi} 11 | #person.dog.name=wangcai 12 | #person.dog.age=4 13 | 14 | -------------------------------------------------------------------------------- /spring-boot-02-config/src/main/resources/bean.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-boot-02-config/src/main/resources/config/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 9090 -------------------------------------------------------------------------------- /spring-boot-02-config/src/main/resources/person.properties: -------------------------------------------------------------------------------- 1 | person.last_name=\u674E\u56DB 2 | person.age=22 3 | person.boss=false 4 | person.birth=2010/01/01 5 | person.maps.k1=mmm 6 | person.maps.v1=aaa 7 | person.maps.k2=dog 8 | person.maps.v2.dog.name=xiaobei 9 | person.maps.v2.dog.age=3 10 | person.lists={abc,def,ghi} 11 | person.dog.name=wangcai 12 | person.dog.age=4 -------------------------------------------------------------------------------- /spring-boot-02-config/target/classes/application-dev.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8082 -------------------------------------------------------------------------------- /spring-boot-02-config/target/classes/application-prod.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8081 -------------------------------------------------------------------------------- /spring-boot-02-config/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | #person.last_name=\u5F20\u4E09 2 | #person.age=18 3 | #person.boss=true 4 | #person.birth=2010/01/01 5 | #person.maps.k1=mmm 6 | #person.maps.v1=aaa 7 | #person.maps.k2=dog 8 | #person.maps.v2.dog.name=xiaobei 9 | #person.maps.v2.dog.age=3 10 | #person.lists={abc,def,ghi} 11 | #person.dog.name=wangcai 12 | #person.dog.age=4 13 | 14 | -------------------------------------------------------------------------------- /spring-boot-02-config/target/classes/bean.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-boot-02-config/target/classes/cn/ustc/edu/springboot02config/SpringBoot02ConfigApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-02-config/target/classes/cn/ustc/edu/springboot02config/SpringBoot02ConfigApplication.class -------------------------------------------------------------------------------- /spring-boot-02-config/target/classes/cn/ustc/edu/springboot02config/config/MyConfiguration.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-02-config/target/classes/cn/ustc/edu/springboot02config/config/MyConfiguration.class -------------------------------------------------------------------------------- /spring-boot-02-config/target/classes/cn/ustc/edu/springboot02config/controller/ConfigController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-02-config/target/classes/cn/ustc/edu/springboot02config/controller/ConfigController.class -------------------------------------------------------------------------------- /spring-boot-02-config/target/classes/cn/ustc/edu/springboot02config/domain/Dog.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-02-config/target/classes/cn/ustc/edu/springboot02config/domain/Dog.class -------------------------------------------------------------------------------- /spring-boot-02-config/target/classes/cn/ustc/edu/springboot02config/domain/Person.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-02-config/target/classes/cn/ustc/edu/springboot02config/domain/Person.class -------------------------------------------------------------------------------- /spring-boot-02-config/target/classes/cn/ustc/edu/springboot02config/service/ConfigService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-02-config/target/classes/cn/ustc/edu/springboot02config/service/ConfigService.class -------------------------------------------------------------------------------- /spring-boot-02-config/target/classes/config/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 9090 -------------------------------------------------------------------------------- /spring-boot-02-config/target/classes/person.properties: -------------------------------------------------------------------------------- 1 | person.last_name=\u674E\u56DB 2 | person.age=22 3 | person.boss=false 4 | person.birth=2010/01/01 5 | person.maps.k1=mmm 6 | person.maps.v1=aaa 7 | person.maps.k2=dog 8 | person.maps.v2.dog.name=xiaobei 9 | person.maps.v2.dog.age=3 10 | person.lists={abc,def,ghi} 11 | person.dog.name=wangcai 12 | person.dog.age=4 -------------------------------------------------------------------------------- /spring-boot-02-config/target/maven-archiver/pom.properties: -------------------------------------------------------------------------------- 1 | version=0.0.1-SNAPSHOT 2 | groupId=cn.ustc.edu 3 | artifactId=spring-boot-02-config 4 | -------------------------------------------------------------------------------- /spring-boot-02-config/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-02-config/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst -------------------------------------------------------------------------------- /spring-boot-02-config/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-02-config/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst -------------------------------------------------------------------------------- /spring-boot-02-config/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst: -------------------------------------------------------------------------------- 1 | D:\Works\Softwares\Programe\IDEA\SpringBoot\spring-boot-02-config\src\test\java\cn\ustc\edu\springboot02config\SpringBoot02ConfigApplicationTests.java 2 | -------------------------------------------------------------------------------- /spring-boot-02-config/target/spring-boot-02-config-0.0.1-SNAPSHOT.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-02-config/target/spring-boot-02-config-0.0.1-SNAPSHOT.jar -------------------------------------------------------------------------------- /spring-boot-02-config/target/spring-boot-02-config-0.0.1-SNAPSHOT.jar.original: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-02-config/target/spring-boot-02-config-0.0.1-SNAPSHOT.jar.original -------------------------------------------------------------------------------- /spring-boot-02-config/target/surefire-reports/cn.ustc.edu.springboot02config.SpringBoot02ConfigApplicationTests.txt: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------- 2 | Test set: cn.ustc.edu.springboot02config.SpringBoot02ConfigApplicationTests 3 | ------------------------------------------------------------------------------- 4 | Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.898 s - in cn.ustc.edu.springboot02config.SpringBoot02ConfigApplicationTests 5 | -------------------------------------------------------------------------------- /spring-boot-02-config/target/test-classes/cn/ustc/edu/springboot02config/SpringBoot02ConfigApplicationTests.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-02-config/target/test-classes/cn/ustc/edu/springboot02config/SpringBoot02ConfigApplicationTests.class -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/libraries/Maven__org_hamcrest_hamcrest_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/libraries/Maven__org_mockito_mockito_core_3_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/libraries/Maven__org_webjars_bootstrap_4_4_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/libraries/Maven__org_webjars_jquery_3_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/libraries/Maven__org_webjars_popper_js_1_14_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_6_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/libraries/Maven__org_yaml_snakeyaml_1_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-03-web/src/main/java/cn/ustc/edu/springboot/component/runner/HelloCommandLineRunner.java: -------------------------------------------------------------------------------- 1 | package cn.ustc.edu.springboot.component.runner; 2 | 3 | import org.springframework.boot.CommandLineRunner; 4 | import org.springframework.stereotype.Component; 5 | 6 | @Component 7 | public class HelloCommandLineRunner implements CommandLineRunner { 8 | @Override 9 | public void run(String... args) throws Exception { 10 | System.out.println("CommandLineRunner.run..........args:"+args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/src/main/java/cn/ustc/edu/springboot/exception/UserNotExistException.java: -------------------------------------------------------------------------------- 1 | package cn.ustc.edu.springboot.exception; 2 | 3 | public class UserNotExistException extends RuntimeException{ 4 | 5 | public UserNotExistException() { 6 | super("用户不存在"); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /spring-boot-03-web/src/main/resources/META-INF/spring.factories: -------------------------------------------------------------------------------- 1 | # Application Context Initializers 2 | org.springframework.context.ApplicationContextInitializer=\ 3 | cn.ustc.edu.springboot.component.initializer.HelloApplicationContextInitializer 4 | 5 | # Run Listeners 6 | org.springframework.boot.SpringApplicationRunListener=\ 7 | cn.ustc.edu.springboot.component.listener.HelloSpringApplicationRunListener -------------------------------------------------------------------------------- /spring-boot-03-web/src/main/resources/i18n/login.properties: -------------------------------------------------------------------------------- 1 | login.btn=\u767B\u5F55~ 2 | login.password=\u5BC6\u7801~ 3 | login.remember=\u8BB0\u4F4F\u6211~ 4 | login.tip=\u8BF7\u767B\u5F55~ 5 | login.username=\u7528\u6237\u540D~ -------------------------------------------------------------------------------- /spring-boot-03-web/src/main/resources/i18n/login_en_US.properties: -------------------------------------------------------------------------------- 1 | login.btn=Sign in 2 | login.password=Password 3 | login.remember=Remember me 4 | login.tip=Please sign in 5 | login.username=Username -------------------------------------------------------------------------------- /spring-boot-03-web/src/main/resources/i18n/login_zh_CN.properties: -------------------------------------------------------------------------------- 1 | login.btn=\u767B\u5F55 2 | login.password=\u5BC6\u7801 3 | login.remember=\u8BB0\u4F4F\u6211 4 | login.tip=\u8BF7\u767B\u5F55 5 | login.username=\u7528\u6237\u540D -------------------------------------------------------------------------------- /spring-boot-03-web/src/main/resources/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 |

首页

9 | 10 | -------------------------------------------------------------------------------- /spring-boot-03-web/src/main/resources/resources/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/src/main/resources/resources/favicon.ico -------------------------------------------------------------------------------- /spring-boot-03-web/src/main/resources/templates/success.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 |

成功页面

9 |
这里是欢迎信息
10 |
[[${hello}]]
11 |

12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/src/test/java/cn/ustc/edu/springboot/SpringBoot03WebApplicationTests.java: -------------------------------------------------------------------------------- 1 | package cn.ustc.edu.springboot; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringBoot03WebApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/META-INF/spring-boot-03-web.kotlin_module: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/META-INF/spring.factories: -------------------------------------------------------------------------------- 1 | # Application Context Initializers 2 | org.springframework.context.ApplicationContextInitializer=\ 3 | cn.ustc.edu.springboot.component.initializer.HelloApplicationContextInitializer 4 | 5 | # Run Listeners 6 | org.springframework.boot.SpringApplicationRunListener=\ 7 | cn.ustc.edu.springboot.component.listener.HelloSpringApplicationRunListener -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/SpringBoot03WebApplication$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/SpringBoot03WebApplication$1.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/SpringBoot03WebApplication$MyViewResolver.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/SpringBoot03WebApplication$MyViewResolver.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/SpringBoot03WebApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/SpringBoot03WebApplication.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/component/filter/MyFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/component/filter/MyFilter.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/component/initializer/HelloApplicationContextInitializer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/component/initializer/HelloApplicationContextInitializer.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/component/listener/HelloSpringApplicationRunListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/component/listener/HelloSpringApplicationRunListener.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/component/listener/MyListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/component/listener/MyListener.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/component/runner/ApplicationRunner.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/component/runner/ApplicationRunner.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/component/runner/HelloCommandLineRunner.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/component/runner/HelloCommandLineRunner.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/component/servlet/MyServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/component/servlet/MyServlet.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/config/MyLocaleResolver.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/config/MyLocaleResolver.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/config/MyMvcConfig$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/config/MyMvcConfig$1.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/config/MyMvcConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/config/MyMvcConfig.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/controller/EmployeeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/controller/EmployeeController.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/controller/HelloController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/controller/HelloController.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/controller/LoginController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/controller/LoginController.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/controller/MyErrorAttributes.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/controller/MyErrorAttributes.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/controller/MyExceptionHandler.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/controller/MyExceptionHandler.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/dao/DepartmentDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/dao/DepartmentDao.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/dao/EmployeeDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/dao/EmployeeDao.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/entities/Department.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/entities/Department.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/entities/Employee.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/entities/Employee.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/exception/UserNotExistException.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/exception/UserNotExistException.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/cn/ustc/edu/springboot/interceptor/LoginInterceptor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/cn/ustc/edu/springboot/interceptor/LoginInterceptor.class -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/i18n/login.properties: -------------------------------------------------------------------------------- 1 | login.btn=\u767B\u5F55~ 2 | login.password=\u5BC6\u7801~ 3 | login.remember=\u8BB0\u4F4F\u6211~ 4 | login.tip=\u8BF7\u767B\u5F55~ 5 | login.username=\u7528\u6237\u540D~ -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/i18n/login_en_US.properties: -------------------------------------------------------------------------------- 1 | login.btn=Sign in 2 | login.password=Password 3 | login.remember=Remember me 4 | login.tip=Please sign in 5 | login.username=Username -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/i18n/login_zh_CN.properties: -------------------------------------------------------------------------------- 1 | login.btn=\u767B\u5F55 2 | login.password=\u5BC6\u7801 3 | login.remember=\u8BB0\u4F4F\u6211 4 | login.tip=\u8BF7\u767B\u5F55 5 | login.username=\u7528\u6237\u540D -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 |

首页

9 | 10 | -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/resources/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/classes/resources/favicon.ico -------------------------------------------------------------------------------- /spring-boot-03-web/target/classes/templates/success.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 |

成功页面

9 |
这里是欢迎信息
10 |
[[${hello}]]
11 |

12 | 13 | -------------------------------------------------------------------------------- /spring-boot-03-web/target/maven-archiver/pom.properties: -------------------------------------------------------------------------------- 1 | version=0.0.1-SNAPSHOT 2 | groupId=cn.ustc.edu 3 | artifactId=spring-boot-03-web 4 | -------------------------------------------------------------------------------- /spring-boot-03-web/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst -------------------------------------------------------------------------------- /spring-boot-03-web/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst -------------------------------------------------------------------------------- /spring-boot-03-web/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst: -------------------------------------------------------------------------------- 1 | D:\Works\Softwares\Programe\IDEA\SpringBoot\spring-boot-03-web\src\test\java\cn\ustc\edu\springboot\SpringBoot03WebApplicationTests.java 2 | -------------------------------------------------------------------------------- /spring-boot-03-web/target/spring-boot-03-web-0.0.1-SNAPSHOT.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/spring-boot-03-web-0.0.1-SNAPSHOT.jar -------------------------------------------------------------------------------- /spring-boot-03-web/target/spring-boot-03-web-0.0.1-SNAPSHOT.jar.original: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/spring-boot-03-web-0.0.1-SNAPSHOT.jar.original -------------------------------------------------------------------------------- /spring-boot-03-web/target/surefire-reports/cn.ustc.edu.springboot.SpringBoot03WebApplicationTests.txt: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------- 2 | Test set: cn.ustc.edu.springboot.SpringBoot03WebApplicationTests 3 | ------------------------------------------------------------------------------- 4 | Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.139 s - in cn.ustc.edu.springboot.SpringBoot03WebApplicationTests 5 | -------------------------------------------------------------------------------- /spring-boot-03-web/target/test-classes/cn/ustc/edu/springboot/SpringBoot03WebApplicationTests.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-03-web/target/test-classes/cn/ustc/edu/springboot/SpringBoot03WebApplicationTests.class -------------------------------------------------------------------------------- /spring-boot-04-jsp/.idea/artifacts/spring_boot_04_jsp_war.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $PROJECT_DIR$/target 4 | 5 | 6 | spring-boot-04-jsp 7 | war 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/.idea/libraries/Maven__org_hamcrest_hamcrest_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/.idea/libraries/Maven__org_mockito_mockito_core_3_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_6_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/.idea/libraries/Maven__org_yaml_snakeyaml_1_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/src/main/java/cn/edu/ustc/springboot/ServletInitializer.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot; 2 | 3 | import org.springframework.boot.builder.SpringApplicationBuilder; 4 | import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; 5 | 6 | public class ServletInitializer extends SpringBootServletInitializer { 7 | 8 | @Override 9 | protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { 10 | return application.sources(SpringBoot04JspApplication.class); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/src/main/java/cn/edu/ustc/springboot/SpringBoot04JspApplication.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBoot04JspApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBoot04JspApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/src/main/java/cn/edu/ustc/springboot/controller/HelloController.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot.controller; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.ui.Model; 5 | import org.springframework.web.bind.annotation.GetMapping; 6 | 7 | @Controller 8 | public class HelloController { 9 | @GetMapping("/hello") 10 | public String hello(Model model) { 11 | model.addAttribute("hello", "hello jsp"); 12 | System.out.println("hello...."); 13 | return "success"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.mvc.view.prefix=/WEB-INF/ 2 | spring.mvc.view.suffix=.jsp 3 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/src/main/webapp/WEB-INF/success.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: Lenovo 4 | Date: 2020/3/28 5 | Time: 17:34 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | Title 12 | 13 | 14 |

成功页面

15 |

${hello}

16 | 17 | 18 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/src/main/webapp/hello.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: Lenovo 4 | Date: 2020/3/28 5 | Time: 17:31 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | 你好 12 | 13 | 14 | 你好 15 | 16 | 17 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/src/test/java/cn/edu/ustc/springboot/SpringBoot04JspApplicationTests.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringBoot04JspApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | spring.mvc.view.prefix=/WEB-INF/ 2 | spring.mvc.view.suffix=.jsp 3 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/classes/cn/edu/ustc/springboot/ServletInitializer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/classes/cn/edu/ustc/springboot/ServletInitializer.class -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/classes/cn/edu/ustc/springboot/SpringBoot04JspApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/classes/cn/edu/ustc/springboot/SpringBoot04JspApplication.class -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/classes/cn/edu/ustc/springboot/controller/HelloController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/classes/cn/edu/ustc/springboot/controller/HelloController.class -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/maven-archiver/pom.properties: -------------------------------------------------------------------------------- 1 | version=0.0.1-SNAPSHOT 2 | groupId=cn.edu.ustc 3 | artifactId=spring-boot-04-jsp 4 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst: -------------------------------------------------------------------------------- 1 | cn\edu\ustc\springboot\SpringBoot04JspApplication.class 2 | cn\edu\ustc\springboot\controller\HelloController.class 3 | cn\edu\ustc\springboot\ServletInitializer.class 4 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst: -------------------------------------------------------------------------------- 1 | D:\Works\Softwares\Programe\IDEA\SpringBoot\spring-boot-04-jsp\src\main\java\cn\edu\ustc\springboot\controller\HelloController.java 2 | D:\Works\Softwares\Programe\IDEA\SpringBoot\spring-boot-04-jsp\src\main\java\cn\edu\ustc\springboot\SpringBoot04JspApplication.java 3 | D:\Works\Softwares\Programe\IDEA\SpringBoot\spring-boot-04-jsp\src\main\java\cn\edu\ustc\springboot\ServletInitializer.java 4 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst: -------------------------------------------------------------------------------- 1 | cn\edu\ustc\springboot\SpringBoot04JspApplicationTests.class 2 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst: -------------------------------------------------------------------------------- 1 | D:\Works\Softwares\Programe\IDEA\SpringBoot\spring-boot-04-jsp\src\test\java\cn\edu\ustc\springboot\SpringBoot04JspApplicationTests.java 2 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT.war: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT.war -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT.war.original: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT.war.original -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Created-By: IntelliJ IDEA 3 | Built-By: Lenovo 4 | Build-Jdk: 1.8.0_131 5 | Implementation-Title: spring-boot-04-jsp 6 | Implementation-Version: 0.0.1-SNAPSHOT 7 | Implementation-Vendor-Id: cn.edu.ustc 8 | Main-Class: ${start-class} 9 | 10 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/classes/application.properties: -------------------------------------------------------------------------------- 1 | spring.mvc.view.prefix=/WEB-INF/ 2 | spring.mvc.view.suffix=.jsp 3 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/classes/cn/edu/ustc/springboot/ServletInitializer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/classes/cn/edu/ustc/springboot/ServletInitializer.class -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/classes/cn/edu/ustc/springboot/SpringBoot04JspApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/classes/cn/edu/ustc/springboot/SpringBoot04JspApplication.class -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/classes/cn/edu/ustc/springboot/controller/HelloController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/classes/cn/edu/ustc/springboot/controller/HelloController.class -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/classmate-1.5.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/classmate-1.5.1.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/hibernate-validator-6.0.18.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/hibernate-validator-6.0.18.Final.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jackson-annotations-2.10.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jackson-annotations-2.10.2.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jackson-core-2.10.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jackson-core-2.10.2.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jackson-databind-2.10.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jackson-databind-2.10.2.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jackson-datatype-jdk8-2.10.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jackson-datatype-jdk8-2.10.2.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jackson-datatype-jsr310-2.10.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jackson-datatype-jsr310-2.10.2.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jackson-module-parameter-names-2.10.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jackson-module-parameter-names-2.10.2.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jakarta.annotation-api-1.3.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jakarta.annotation-api-1.3.5.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jakarta.validation-api-2.0.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jakarta.validation-api-2.0.2.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jboss-logging-3.4.1.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jboss-logging-3.4.1.Final.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jul-to-slf4j-1.7.30.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/jul-to-slf4j-1.7.30.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/log4j-api-2.12.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/log4j-api-2.12.1.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/log4j-to-slf4j-2.12.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/log4j-to-slf4j-2.12.1.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/logback-classic-1.2.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/logback-classic-1.2.3.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/logback-core-1.2.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/logback-core-1.2.3.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/slf4j-api-1.7.30.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/slf4j-api-1.7.30.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/snakeyaml-1.25.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/snakeyaml-1.25.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-aop-5.2.4.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-aop-5.2.4.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-beans-5.2.4.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-beans-5.2.4.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-boot-2.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-boot-2.2.5.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-boot-autoconfigure-2.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-boot-autoconfigure-2.2.5.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-boot-starter-2.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-boot-starter-2.2.5.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-boot-starter-json-2.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-boot-starter-json-2.2.5.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-boot-starter-logging-2.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-boot-starter-logging-2.2.5.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-boot-starter-validation-2.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-boot-starter-validation-2.2.5.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-boot-starter-web-2.2.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-boot-starter-web-2.2.5.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-context-5.2.4.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-context-5.2.4.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-core-5.2.4.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-core-5.2.4.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-expression-5.2.4.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-expression-5.2.4.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-jcl-5.2.4.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-jcl-5.2.4.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-web-5.2.4.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-web-5.2.4.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-webmvc-5.2.4.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/lib/spring-webmvc-5.2.4.RELEASE.jar -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/success.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: Lenovo 4 | Date: 2020/3/28 5 | Time: 17:34 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | Title 12 | 13 | 14 |

成功页面

15 |

${hello}

16 | 17 | 18 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/spring-boot-04-jsp-0.0.1-SNAPSHOT/hello.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: Lenovo 4 | Date: 2020/3/28 5 | Time: 17:31 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | 你好 12 | 13 | 14 | 你好 15 | 16 | 17 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/surefire-reports/cn.edu.ustc.springboot.SpringBoot04JspApplicationTests.txt: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------- 2 | Test set: cn.edu.ustc.springboot.SpringBoot04JspApplicationTests 3 | ------------------------------------------------------------------------------- 4 | Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.408 s - in cn.edu.ustc.springboot.SpringBoot04JspApplicationTests 5 | -------------------------------------------------------------------------------- /spring-boot-04-jsp/target/test-classes/cn/edu/ustc/springboot/SpringBoot04JspApplicationTests.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-04-jsp/target/test-classes/cn/edu/ustc/springboot/SpringBoot04JspApplicationTests.class -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/libraries/Maven__com_alibaba_druid_1_1_21.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/libraries/Maven__com_zaxxer_HikariCP_3_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/libraries/Maven__log4j_log4j_1_2_17.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/libraries/Maven__org_hamcrest_hamcrest_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/libraries/Maven__org_mockito_mockito_core_3_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/libraries/Maven__org_mybatis_mybatis_3_5_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_6_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/libraries/Maven__org_yaml_snakeyaml_1_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-05-data/.idea/sqldialects.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /spring-boot-05-data/src/main/java/cn/edu/ustc/springboot/SpringBoot05DataApplication.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot; 2 | 3 | import org.mybatis.spring.annotation.MapperScan; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | 7 | @MapperScan("cn.edu.ustc.springboot.mapper") 8 | @SpringBootApplication 9 | public class SpringBoot05DataApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(SpringBoot05DataApplication.class, args); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot-05-data/src/main/java/cn/edu/ustc/springboot/bean/Department.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot.bean; 2 | 3 | public class Department { 4 | 5 | private Integer id; 6 | private String departmentName; 7 | 8 | public void setId(Integer id) { 9 | this.id = id; 10 | } 11 | 12 | public void setDepartmentName(String departmentName) { 13 | this.departmentName = departmentName; 14 | } 15 | 16 | public Integer getId() { 17 | return id; 18 | } 19 | 20 | public String getDepartmentName() { 21 | return departmentName; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /spring-boot-05-data/src/main/java/cn/edu/ustc/springboot/mapper/EmployeeMapper.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot.mapper; 2 | 3 | import cn.edu.ustc.springboot.bean.Employee; 4 | 5 | public interface EmployeeMapper { 6 | Employee getEmpById(Integer id); 7 | 8 | void insertEmp(Employee employee); 9 | } 10 | -------------------------------------------------------------------------------- /spring-boot-05-data/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot-05-data/src/main/resources/mybatis/mapper/EmployeeMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 9 | 10 | INSERT INTO employee(lastName,gender,email,d_id) VALUES (#{lastName},#{gender},#{email},#{dId}) 11 | 12 | -------------------------------------------------------------------------------- /spring-boot-05-data/src/main/resources/mybatis/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-boot-05-data/target/classes/META-INF/spring-boot-05-data.kotlin_module: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /spring-boot-05-data/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot-05-data/target/classes/cn/edu/ustc/springboot/SpringBoot05DataApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-05-data/target/classes/cn/edu/ustc/springboot/SpringBoot05DataApplication.class -------------------------------------------------------------------------------- /spring-boot-05-data/target/classes/cn/edu/ustc/springboot/bean/Department.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-05-data/target/classes/cn/edu/ustc/springboot/bean/Department.class -------------------------------------------------------------------------------- /spring-boot-05-data/target/classes/cn/edu/ustc/springboot/bean/Employee.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-05-data/target/classes/cn/edu/ustc/springboot/bean/Employee.class -------------------------------------------------------------------------------- /spring-boot-05-data/target/classes/cn/edu/ustc/springboot/config/DruidConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-05-data/target/classes/cn/edu/ustc/springboot/config/DruidConfig.class -------------------------------------------------------------------------------- /spring-boot-05-data/target/classes/cn/edu/ustc/springboot/config/MyBatisConfig$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-05-data/target/classes/cn/edu/ustc/springboot/config/MyBatisConfig$1.class -------------------------------------------------------------------------------- /spring-boot-05-data/target/classes/cn/edu/ustc/springboot/config/MyBatisConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-05-data/target/classes/cn/edu/ustc/springboot/config/MyBatisConfig.class -------------------------------------------------------------------------------- /spring-boot-05-data/target/classes/cn/edu/ustc/springboot/controller/DepartmentController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-05-data/target/classes/cn/edu/ustc/springboot/controller/DepartmentController.class -------------------------------------------------------------------------------- /spring-boot-05-data/target/classes/cn/edu/ustc/springboot/controller/EmployeeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-05-data/target/classes/cn/edu/ustc/springboot/controller/EmployeeController.class -------------------------------------------------------------------------------- /spring-boot-05-data/target/classes/cn/edu/ustc/springboot/controller/JdbcController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-05-data/target/classes/cn/edu/ustc/springboot/controller/JdbcController.class -------------------------------------------------------------------------------- /spring-boot-05-data/target/classes/cn/edu/ustc/springboot/mapper/DepartmentMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-05-data/target/classes/cn/edu/ustc/springboot/mapper/DepartmentMapper.class -------------------------------------------------------------------------------- /spring-boot-05-data/target/classes/cn/edu/ustc/springboot/mapper/EmployeeMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-05-data/target/classes/cn/edu/ustc/springboot/mapper/EmployeeMapper.class -------------------------------------------------------------------------------- /spring-boot-05-data/target/classes/mybatis/mapper/EmployeeMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 9 | 10 | INSERT INTO employee(lastName,gender,email,d_id) VALUES (#{lastName},#{gender},#{email},#{dId}) 11 | 12 | -------------------------------------------------------------------------------- /spring-boot-05-data/target/classes/mybatis/mybatis-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-boot-05-data/target/test-classes/cn/edu/ustc/springboot/SpringBoot05DataApplicationTests.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-05-data/target/test-classes/cn/edu/ustc/springboot/SpringBoot05DataApplicationTests.class -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/libraries/Maven__antlr_antlr_2_7_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/libraries/Maven__com_zaxxer_HikariCP_3_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/libraries/Maven__org_dom4j_dom4j_2_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/libraries/Maven__org_glassfish_jaxb_txw2_2_3_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/libraries/Maven__org_hamcrest_hamcrest_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/libraries/Maven__org_jboss_jandex_2_1_1_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/libraries/Maven__org_jvnet_staxex_stax_ex_1_8_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/libraries/Maven__org_mockito_mockito_core_3_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/libraries/Maven__org_yaml_snakeyaml_1_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/src/main/java/cn/edu/ustc/springboot/SpringBoot06JpaApplication.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBoot06JpaApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBoot06JpaApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/src/main/java/cn/edu/ustc/springboot/repository/UserRepository.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot.repository; 2 | 3 | 4 | import cn.edu.ustc.springboot.domain.User; 5 | import org.springframework.data.jpa.repository.JpaRepository; 6 | 7 | public interface UserRepository extends JpaRepository { 8 | } 9 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | datasource: 3 | username: root 4 | password: 123 5 | url: jdbc:mysql://localhost:3306/springboot?serverTimezone=Asia/Shanghai 6 | driver-class-name: com.mysql.cj.jdbc.Driver 7 | jpa: 8 | #开启自动创建表或更新 9 | hibernate: 10 | ddl-auto: update 11 | #开启打印sql语句 12 | show-sql: true -------------------------------------------------------------------------------- /spring-boot-06-jpa/src/test/java/cn/edu/ustc/springboot/SpringBoot06JpaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringBoot06JpaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot-06-jpa/target/classes/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | datasource: 3 | username: root 4 | password: 123 5 | url: jdbc:mysql://localhost:3306/springboot?serverTimezone=Asia/Shanghai 6 | driver-class-name: com.mysql.cj.jdbc.Driver 7 | jpa: 8 | hibernate: 9 | ddl-auto: update 10 | show-sql: true -------------------------------------------------------------------------------- /spring-boot-06-jpa/target/classes/cn/edu/ustc/springboot/SpringBoot06JpaApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-06-jpa/target/classes/cn/edu/ustc/springboot/SpringBoot06JpaApplication.class -------------------------------------------------------------------------------- /spring-boot-06-jpa/target/classes/cn/edu/ustc/springboot/controller/UserController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-06-jpa/target/classes/cn/edu/ustc/springboot/controller/UserController.class -------------------------------------------------------------------------------- /spring-boot-06-jpa/target/classes/cn/edu/ustc/springboot/domain/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-06-jpa/target/classes/cn/edu/ustc/springboot/domain/User.class -------------------------------------------------------------------------------- /spring-boot-06-jpa/target/classes/cn/edu/ustc/springboot/repository/UserRepository.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-06-jpa/target/classes/cn/edu/ustc/springboot/repository/UserRepository.class -------------------------------------------------------------------------------- /spring-boot-06-jpa/target/test-classes/cn/edu/ustc/springboot/SpringBoot06JpaApplicationTests.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-06-jpa/target/test-classes/cn/edu/ustc/springboot/SpringBoot06JpaApplicationTests.class -------------------------------------------------------------------------------- /spring-boot-07-mystarter/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/.idea/libraries/Maven__org_hamcrest_hamcrest_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/.idea/libraries/Maven__org_yaml_snakeyaml_1_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/mystarter-spring-boot-starter-autoconfigure/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/mystarter-spring-boot-starter-autoconfigure/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-07-mystarter/mystarter-spring-boot-starter-autoconfigure/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-07-mystarter/mystarter-spring-boot-starter-autoconfigure/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/mystarter-spring-boot-starter-autoconfigure/src/main/java/cn/edu/ustc/springboot/autoconfigure/MystarterSpringBootStarterAutoconfigureApplication.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot.autoconfigure; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class MystarterSpringBootStarterAutoconfigureApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(MystarterSpringBootStarterAutoconfigureApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/mystarter-spring-boot-starter-autoconfigure/src/main/resources/META-INF/spring.factories: -------------------------------------------------------------------------------- 1 | org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ 2 | cn.edu.ustc.springboot.autoconfigure.config.HelloServiceAutoConfiguration -------------------------------------------------------------------------------- /spring-boot-07-mystarter/mystarter-spring-boot-starter-autoconfigure/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/mystarter-spring-boot-starter/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/mystarter-spring-boot-starter/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-07-mystarter/mystarter-spring-boot-starter/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-07-mystarter/mystarter-spring-boot-starter/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/mystarter-spring-boot-starter/src/main/java/cn/ustc/edu/springboot/starter/MystarterSpringBootStarterApplication.java: -------------------------------------------------------------------------------- 1 | package cn.ustc.edu.springboot.starter; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class MystarterSpringBootStarterApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(MystarterSpringBootStarterApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/mystarter-spring-boot-starter/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/test-starter/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/test-starter/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-07-mystarter/test-starter/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-07-mystarter/test-starter/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/test-starter/src/main/java/cn/edu/ustc/teststarter/TestStarterApplication.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.teststarter; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class TestStarterApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(TestStarterApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/test-starter/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | starter.hello.prefix=hello mystarter prefix 2 | starter.hello.suffix=this is mystarter suffix 3 | -------------------------------------------------------------------------------- /spring-boot-07-mystarter/test-starter/src/test/java/cn/edu/ustc/teststarter/TestStarterApplicationTests.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.teststarter; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class TestStarterApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-08-cache/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /spring-boot-08-cache/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-08-cache/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-08-cache/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-08-cache/src/main/java/cn/edu/ustc/springboot/mapper/DepartmentMapper.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot.mapper; 2 | 3 | 4 | import cn.edu.ustc.springboot.bean.Department; 5 | import org.apache.ibatis.annotations.Mapper; 6 | import org.apache.ibatis.annotations.Select; 7 | 8 | @Mapper 9 | public interface DepartmentMapper { 10 | 11 | @Select("SELECT * FROM department WHERE id = #{id}") 12 | Department getDeptById(Integer id); 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-08-cache/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.username=root 2 | spring.datasource.password=root 3 | spring.datasource.url=jdbc:mysql://47.110.152.217:3306/springboot?serverTimezone=GMT 4 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 5 | 6 | spring.cache.redis.time-to-live=60000 7 | 8 | # \u5F00\u542F\u9A7C\u5CF0\u547D\u540D\u6CD5 9 | mybatis.configuration.map-underscore-to-camel-case=true 10 | #\u6253\u5370sql 11 | logging.level.cn.edu.ustc.springboot.mapper=debug 12 | 13 | debug=true 14 | 15 | #redis\u4E3B\u673A 16 | spring.redis.host=192.168.56.102 -------------------------------------------------------------------------------- /spring-boot-09-rabbitmq/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /spring-boot-09-rabbitmq/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-09-rabbitmq/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-09-rabbitmq/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-09-rabbitmq/src/main/java/cn/edu/ustc/springboot/SpringBoot09RabbitmqApplication.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBoot09RabbitmqApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBoot09RabbitmqApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-09-rabbitmq/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.rabbitmq.host=### 2 | spring.rabbitmq.username=### 3 | spring.rabbitmq.password=### 4 | 5 | spring.rabbitmq.publisher-confirm-type=correlated 6 | 7 | # \u5F00\u542F\u53D1\u9001\u7AEF\u62B5\u8FBE\u961F\u5217\u7684\u786E\u8BA4 8 | spring.rabbitmq.publisher-returns=true 9 | # \u53EA\u8981\u62B5\u8FBE\u961F\u5217\uFF0C\u4EE5\u5F02\u6B65\u53D1\u9001\u4F18\u5148\u56DE\u8C03 10 | spring.rabbitmq.template.mandatory=true 11 | # \u6D88\u8D39\u7AEF\u624B\u52A8ack\u6D88\u606F 12 | spring.rabbitmq.listener.simple.acknowledge-mode=manual 13 | -------------------------------------------------------------------------------- /spring-boot-10-elasticsearch/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /spring-boot-10-elasticsearch/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-10-elasticsearch/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-10-elasticsearch/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-10-elasticsearch/src/main/java/cn/edu/ustc/springboot/SpringBoot10ElasticsearchApplication.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBoot10ElasticsearchApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBoot10ElasticsearchApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-10-elasticsearch/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | #spring.elasticsearch.rest.uris=http://192.168.31.162:9200 2 | -------------------------------------------------------------------------------- /spring-boot-11-task/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /spring-boot-11-task/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-11-task/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-11-task/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-11-task/src/main/java/cn/edu/ustc/springboot/service/AsyncService.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot.service; 2 | 3 | import org.springframework.scheduling.annotation.Async; 4 | import org.springframework.stereotype.Service; 5 | 6 | @Service 7 | public class AsyncService { 8 | @Async 9 | public void sayHello() { 10 | try { 11 | Thread.sleep(3000); 12 | System.out.println("hello async task!"); 13 | } catch (InterruptedException e) { 14 | e.printStackTrace(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /spring-boot-11-task/src/main/java/cn/edu/ustc/springboot/service/ScheduleService.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot.service; 2 | 3 | import org.springframework.scheduling.annotation.Scheduled; 4 | import org.springframework.stereotype.Service; 5 | 6 | @Service 7 | public class ScheduleService { 8 | @Scheduled(cron = "0,1,2,3,4,5,30,50 * * * * 0-7") 9 | public void schedule() { 10 | System.out.println("I am executing.."); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-11-task/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.mail.username=\u90AE\u7BB1\u7528\u6237\u540D 2 | spring.mail.password=\u90AE\u7BB1\u5BC6\u7801\u6216\u6388\u6743\u7801 3 | spring.mail.host=smtp.example.com 4 | 5 | -------------------------------------------------------------------------------- /spring-boot-12-security/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /spring-boot-12-security/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-12-security/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-12-security/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-12-security/src/main/java/cn/edu/ustc/springboot/SpringBoot12SecurityApplication.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBoot12SecurityApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBoot12SecurityApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-12-security/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot-12-security/src/main/resources/templates/pages/level1/1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | 返回 9 |

罗汉拳

10 |

罗汉拳站当央,打起来不要慌

11 | 12 | -------------------------------------------------------------------------------- /spring-boot-12-security/src/main/resources/templates/pages/level1/2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | 返回 9 |

武当长拳

10 |

长一点在长一点

11 | 12 | -------------------------------------------------------------------------------- /spring-boot-12-security/src/main/resources/templates/pages/level1/3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | 返回 9 |

全真剑法

10 |

全都是真的

11 | 12 | -------------------------------------------------------------------------------- /spring-boot-12-security/src/main/resources/templates/pages/level2/1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | 返回 9 |

太极拳

10 |

11 | 一个西瓜圆又圆 劈它一刀成两半 你一半来 给你你不要 给他他不收 那就不给 把两人撵走 他们不走你走 走啦,一挥手,伤自尊 12 | 不买西瓜别缠我,缓慢纠缠様 两人缠我赖皮,手慢动作左右挥动 看我厉害,转头缓步拍苍蝇状 拍死了,手抱西瓜状+奥特曼十字手+广播操准备运动的站立 13 |

14 | 15 | -------------------------------------------------------------------------------- /spring-boot-12-security/src/main/resources/templates/pages/level2/2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | 返回 9 |

七伤拳

10 |

练这拳的人全都死了

11 | 12 | -------------------------------------------------------------------------------- /spring-boot-12-security/src/main/resources/templates/pages/level2/3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | 返回 9 |

梯云纵

10 |

踩自己的脚往上跳

11 | 12 | -------------------------------------------------------------------------------- /spring-boot-12-security/src/main/resources/templates/pages/level3/1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | 返回 9 |

葵花宝典

10 |

欲练神功,挥刀自宫

11 | 12 | -------------------------------------------------------------------------------- /spring-boot-12-security/src/main/resources/templates/pages/level3/2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | 返回 9 |

龟派气功

10 |

龟-派-气-功-波

11 | 12 | -------------------------------------------------------------------------------- /spring-boot-12-security/src/main/resources/templates/pages/level3/3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 | 返回 9 |

独孤九剑

10 |

欲练此剑,必先犯贱

11 | 12 | -------------------------------------------------------------------------------- /spring-boot-12-security/src/main/resources/templates/pages/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 |

欢迎登陆武林秘籍管理系统

9 |
10 |
11 |
12 | 用户名:
13 | 密码:
14 | 记住我
15 | 16 |
17 |
18 | 19 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/.idea/libraries/Maven__com_google_code_gson_gson_2_8_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/.idea/libraries/Maven__log4j_log4j_1_2_14.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/.idea/libraries/Maven__org_apache_dubbo_dubbo_2_7_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/.idea/libraries/Maven__org_hamcrest_hamcrest_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/.idea/libraries/Maven__org_yaml_snakeyaml_1_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/consumer-user/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/consumer-user/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-13-dubbo/consumer-user/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-13-dubbo/consumer-user/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/consumer-user/src/main/java/cn/edu/ustc/ConsumerUserApplication.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class ConsumerUserApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(ConsumerUserApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/consumer-user/src/main/java/cn/edu/ustc/service/TicketService.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.service; 2 | 3 | public interface TicketService { 4 | String getTicket(); 5 | } 6 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/consumer-user/src/main/java/cn/edu/ustc/service/UserService.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.service; 2 | 3 | import org.apache.dubbo.config.annotation.Reference; 4 | import org.springframework.stereotype.Service; 5 | 6 | 7 | @Service 8 | public class UserService { 9 | 10 | @Reference 11 | TicketService ticketService; 12 | 13 | public void hello() { 14 | String ticket = ticketService.getTicket(); 15 | System.out.println("买到票了:"+ticket); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/consumer-user/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | dubbo.application.name=consumer-user 2 | 3 | dubbo.registry.address=zookeeper://192.168.31.162:2181 4 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/consumer-user/src/test/java/cn/edu/ustc/ConsumerUserApplicationTests.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc; 2 | 3 | import cn.edu.ustc.service.UserService; 4 | import org.junit.jupiter.api.Test; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.boot.test.context.SpringBootTest; 7 | 8 | @SpringBootTest 9 | class ConsumerUserApplicationTests { 10 | 11 | @Autowired 12 | UserService userService; 13 | 14 | @Test 15 | void contextLoads() { 16 | userService.hello(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/provider-ticket/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/provider-ticket/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-13-dubbo/provider-ticket/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-13-dubbo/provider-ticket/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/provider-ticket/src/main/java/cn/edu/ustc/ProviderTicketApplication.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc; 2 | 3 | import org.apache.dubbo.config.spring.context.annotation.EnableDubbo; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | 7 | 8 | @SpringBootApplication 9 | public class ProviderTicketApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(ProviderTicketApplication.class, args); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/provider-ticket/src/main/java/cn/edu/ustc/service/TicketService.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.service; 2 | 3 | public interface TicketService { 4 | String getTicket(); 5 | } 6 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/provider-ticket/src/main/java/cn/edu/ustc/service/TicketServiceImpl.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.service; 2 | 3 | 4 | import org.apache.dubbo.config.annotation.Service; 5 | import org.apache.dubbo.config.spring.context.annotation.EnableDubbo; 6 | import org.springframework.stereotype.Component; 7 | 8 | 9 | @EnableDubbo 10 | @Component 11 | @Service 12 | public class TicketServiceImpl implements TicketService{ 13 | @Override 14 | public String getTicket() { 15 | return "Gxx:合肥-北京"; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /spring-boot-13-dubbo/provider-ticket/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | dubbo.application.name=provider-ticket 2 | 3 | dubbo.registry.address=zookeeper://192.168.31.162:2181 4 | 5 | dubbo.scan.base-packages=cn.edu.ustc.service -------------------------------------------------------------------------------- /spring-boot-13-dubbo/provider-ticket/src/test/java/cn/edu/ustc/ProviderTicketApplicationTests.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class ProviderTicketApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__antlr_antlr_2_7_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__aopalliance_aopalliance_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__com_google_code_gson_gson_2_8_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__com_google_inject_guice_4_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__com_netflix_ribbon_ribbon_2_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__com_stoyanr_evictor_1_0_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__io_reactivex_rxjava_1_3_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__io_reactivex_rxnetty_0_4_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__javax_inject_javax_inject_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__javax_ws_rs_jsr311_api_1_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__joda_time_joda_time_2_10_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__org_antlr_antlr_runtime_3_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__org_glassfish_jaxb_txw2_2_3_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__org_hamcrest_hamcrest_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__org_jvnet_staxex_stax_ex_1_8_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__org_objenesis_objenesis_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__org_yaml_snakeyaml_1_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__stax_stax_api_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__xmlpull_xmlpull_1_1_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/libraries/Maven__xpp3_xpp3_min_1_1_4c.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/consumer-user/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/consumer-user/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-13-springcloud/consumer-user/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-13-springcloud/consumer-user/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/consumer-user/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/consumer-user/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | application: 3 | name: consumer-user 4 | server: 5 | port: 8200 6 | 7 | eureka: 8 | instance: 9 | prefer-ip-address: true # 注册服务的时候使用服务的ip地址 10 | client: 11 | service-url: 12 | defaultZone: http://localhost:8761/eureka/ -------------------------------------------------------------------------------- /spring-boot-13-springcloud/consumer-user/src/test/java/cn/edu/ustc/consumer/ConsumerUserApplicationTests.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.consumer; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class ConsumerUserApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/eureka-server/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/eureka-server/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-13-springcloud/eureka-server/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-13-springcloud/eureka-server/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/eureka-server/src/main/java/cn/edu/ustc/eurekaserver/EurekaServerApplication.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.eurekaserver; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; 6 | 7 | @EnableEurekaServer 8 | @SpringBootApplication 9 | public class EurekaServerApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(EurekaServerApplication.class, args); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/eureka-server/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/eureka-server/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8761 3 | eureka: 4 | instance: 5 | hostname: eureka-server # eureka实例的主机名 6 | client: 7 | register-with-eureka: false #不把自己注册到eureka上 8 | fetch-registry: false #不从eureka上来获取服务的注册信息 9 | service-url: 10 | defaultZone: http://localhost:8761/eureka/ -------------------------------------------------------------------------------- /spring-boot-13-springcloud/eureka-server/src/test/java/cn/edu/ustc/eurekaserver/EurekaServerApplicationTests.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.eurekaserver; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class EurekaServerApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/provider-user/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/provider-user/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-13-springcloud/provider-user/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-13-springcloud/provider-user/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/provider-user/src/main/java/cn/edu/ustc/provider/ProviderUserApplication.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.provider; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class ProviderUserApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(ProviderUserApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/provider-user/src/main/java/cn/edu/ustc/provider/service/TicketService.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.provider.service; 2 | 3 | import org.springframework.stereotype.Service; 4 | 5 | @Service 6 | public class TicketService { 7 | public String getTicket(){ 8 | System.out.println("8003"); 9 | return "《厉害了,我的国》"; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/provider-user/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot-13-springcloud/provider-user/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8003 3 | spring: 4 | application: 5 | name: provider-ticket 6 | 7 | 8 | eureka: 9 | instance: 10 | prefer-ip-address: true # 注册服务的时候使用服务的ip地址 11 | client: 12 | service-url: 13 | defaultZone: http://localhost:8761/eureka/ -------------------------------------------------------------------------------- /spring-boot-13-springcloud/provider-user/src/test/java/cn/edu/ustc/provider/ProviderUserApplicationTests.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.provider; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class ProviderUserApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-14-deploy/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /spring-boot-14-deploy/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-14-deploy/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-14-deploy/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-14-deploy/src/main/java/cn/edu/ustc/springboot14deploy/SpringBoot14DeployApplication.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot14deploy; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBoot14DeployApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBoot14DeployApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-14-deploy/src/main/java/cn/edu/ustc/springboot14deploy/controller/HelloController.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot14deploy.controller; 2 | 3 | import org.springframework.web.bind.annotation.GetMapping; 4 | import org.springframework.web.bind.annotation.RestController; 5 | 6 | @RestController 7 | public class HelloController { 8 | @GetMapping("/hello") 9 | public String sayHello() { 10 | return "hello deploy hello!!!"; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-14-deploy/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot-14-deploy/src/test/java/cn/edu/ustc/springboot14deploy/SpringBoot14DeployApplicationTests.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot14deploy; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringBoot14DeployApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-15-actuator/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /spring-boot-15-actuator/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NiceSeason/SpringBoot_demo/8e2be6c6e31e1aa897d337518183096788554a53/spring-boot-15-actuator/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-15-actuator/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-15-actuator/src/main/java/cn/edu/ustc/springboot/SpringBoot15ActuatorApplication.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBoot15ActuatorApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBoot15ActuatorApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-15-actuator/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | management.endpoints.web.exposure.include=* 2 | #management.endpoints.enabled-by-default=false 3 | #management.endpoint.info.enabled=true 4 | 5 | management.endpoints.web.base-path=/management 6 | management.endpoints.web.path-mapping.health=healthcheck 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-15-actuator/src/test/java/cn/edu/ustc/springboot/SpringBoot15ActuatorApplicationTests.java: -------------------------------------------------------------------------------- 1 | package cn.edu.ustc.springboot; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringBoot15ActuatorApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | --------------------------------------------------------------------------------