
Springboot
文章平均质量分 75
江七7
智者顺时而谋,愚者逆时而动
展开
-
04-web开发之简单功能分析
1 SpringMVC自动配置概览 Spring Boot provides auto-configuration for Spring MVC that works well with most applications.(大多场景我们都无需自定义配置) The auto-configuration adds the following features on top of Spring’s defaults: Inclusion of ContentNegotiatingViewResolver..原创 2021-12-12 17:30:35 · 648 阅读 · 0 评论 -
03-配置文件
1 文件类型 1.1 properties 同以前的properties用法 注意:properties的配置优先级高于yml 1.2 yaml 1.2.1 简介 YAML 是 “YAML Ain’t Markup Language”(YAML 不是一种标记语言)的递归缩写。在开发的这种语言时,YAML 的意思其实是:“Yet Another Markup Language”(仍是一种标记语言)。 非常适合用来做以数据为中心的配置文件 1.2.2 基本语法 key: value;kv之间有空格 大小原创 2021-12-08 15:06:08 · 273 阅读 · 0 评论 -
02-了解自动配置原理
02 了解自动配置原理 1 SpringBoot特点 1.1 依赖管理 父项目做依赖管理 依赖管理 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.6</version> <原创 2021-12-07 17:14:32 · 215 阅读 · 0 评论 -
01-SpringBoot2入门
01、SpringBoot2入门 1、系统要求 Java 8 & 兼容java14 . Maven 3.3+ idea 1.1、maven设置 <mirrors> <mirror> <id>nexus-aliyun</id> <mirrorOf>central</mirrorOf> <name>Nexus aliyun</name>转载 2021-12-07 17:06:20 · 170 阅读 · 0 评论