2018年6月5日

springboot学习入门之三---启动原理

摘要: 3启动原理 3.1启动类 @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args) 阅读全文

posted @ 2018-06-05 17:59 cslj2013 阅读(139) 评论(0) 推荐(0)

springboot学习入门之一---基本了解

摘要: 1springboot基本了解 1.1概述 Spring Boot不是一门新技术,本质上就是spring。 特性: 1) 零配置(或很少配置) 2) 四个核心:(ASCA) 3.1)自动配置:springboot自动提供常见应用功能的配置。 3.2)起步依赖:根据功能需要引入对应库(spring-b 阅读全文

posted @ 2018-06-05 09:01 cslj2013 阅读(129) 评论(0) 推荐(0)

springboot学习入门之二---配置文件解析

摘要: 2springboot配置文件解析 2.1application.properties配置文件 使用application.properties全局配置文件(位置为src/main/resources目录下或类路径的config下),提供自定义属性支持。 2.1.1自定义属性配置及使用 1)在app 阅读全文

posted @ 2018-06-05 09:01 cslj2013 阅读(186) 评论(0) 推荐(0)

导航