摘要: Spring Boot Starters帮助我们快速继承并使用各种三方件。 一、命名规范 官方Starter: 遵循spring-boot-starter*格式,如 spring-boot-starter-data-redis、spring-boot-starter-web 非Spring官方: 建 阅读全文
posted @ 2022-06-05 19:15 飞翔在天 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 基本的SpringBoot的应用程序,有两个重要元素: 注解:@SpringBootApplication 启动方法:SpringApplication.run(FirstBootApplication.class, args) ; 1、@SpringBootApplication注解 1 @Tar 阅读全文
posted @ 2022-06-05 16:54 飞翔在天 阅读(182) 评论(0) 推荐(0) 编辑