File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 9
9
- [ 5、了解 Spring Boot 的新特性] ( pages/boot-documentation.md#_learning_about_spring_boot_features )
10
10
- [ 6、生产环境] ( pages/boot-documentation.md#_moving_to_production )
11
11
- [ 7、高级内容] ( pages/boot-documentation.md#_advanced_topics )
12
- - [ II、入门] ( pages/boot-documentation .md )
13
- - [ 8、Spring Boot 简介] ( pages/boot-documentation .md#getting-started-introducing-spring-boot )
14
- - [ 9、系统要求] ( pages/boot-documentation .md#getting-started-system-requirements )
15
- - [ 9.1、Servlet 容器] ( pages/boot-documentation .md#_servlet_containers )
16
- - [ 10、安装 Spring Boot] ( pages/boot-documentation .md#getting-started-installing-spring-boot )
17
- - [ 10.1、针对 Java 开发人员的安装说明] ( pages/boot-documentation .md#getting-started-installation-instructions-for-java )
18
- - [ 10.1.1、Maven 安装] ( pages/boot-documentation .md#getting-started-maven-installation )
19
- - [ 10.1.2、Gradle 安装] ( pages/boot-documentation .md )
12
+ - [ II、入门] ( pages/getting-started .md )
13
+ - [ 8、Spring Boot 简介] ( pages/getting-started .md#getting-started-introducing-spring-boot )
14
+ - [ 9、系统要求] ( pages/getting-started .md#getting-started-system-requirements )
15
+ - [ 9.1、Servlet 容器] ( pages/getting-started .md#_servlet_containers )
16
+ - [ 10、安装 Spring Boot] ( pages/getting-started .md#getting-started-installing-spring-boot )
17
+ - [ 10.1、针对 Java 开发人员的安装说明] ( pages/getting-started .md#getting-started-installation-instructions-for-java )
18
+ - [ 10.1.1、Maven 安装] ( pages/getting-started .md#getting-started-maven-installation )
19
+ - [ 10.1.2、Gradle 安装] ( pages/getting-started .md )
20
20
- 10.2、安装 Spring Boot CLI
21
21
- 10.2.1、手动安装
22
22
- 10.2.2、使用 SDKMAN! 安装
Original file line number Diff line number Diff line change 1
- <a id =" boot-documentation " ></a >
1
+ <a id =" getting-started " ></a >
2
2
# II、入门
3
3
4
4
如果您是刚开始使用 Spring Boot,或者对 Spring 有点印象,那么这部分内容是为您准备的!在这里我们将给出基本的“是什么?”、“怎么做?”、“为什么?”这类问题的答案。这是一份友好的 Spring Boot 简介和安装说明。当我们在讨论一些核心原理之后,我们将构建第一个 Spring Boot 应用。
@@ -54,7 +54,7 @@ $ java -version
54
54
55
55
** 提示**
56
56
57
- 虽然 Spring Boot 支持 Java 1.6,但是如果可以,您应该考虑使用最新的 Java 版本。
57
+ > 虽然 Spring Boot 支持 Java 1.6,但是如果可以,您应该考虑使用最新的 Java 版本。
58
58
59
59
<a id =" getting-started-installation-instructions-for-java " ></a >
60
60
### 10.1、针对 Java 开发人员的安装说明
@@ -70,7 +70,7 @@ Spring Boot 兼容 Apache Maven 3.2 或更高版本。如果您还没有安装 M
70
70
71
71
** 提示**
72
72
73
- 在许多操作系统上,可以通过软件包管理器来安装 Maven。如果您是 OSX Homebrew 用户,请尝试使用 ` brew install maven ` 。Ubuntu 用户可以运行 ` sudo apt-get install maven ` 。
73
+ > 在许多操作系统上,可以通过软件包管理器来安装 Maven。如果您是 OSX Homebrew 用户,请尝试使用 ` brew install maven ` 。Ubuntu 用户可以运行 ` sudo apt-get install maven ` 。
74
74
75
75
Spring Boot 依赖使用到了 ` org.springframework.boot ` ` groupId ` 。通常,您的 Maven POM 文件将从 ` spring-boot-starter-parent ` 项目继承,并声明一个或多个 [ Starter] ( using-boot-starter.md ) 依赖。Spring Boot 还提供了一个可选的 [ Maven 插件] ( #build-tool-plugins-maven-plugin ) 来创建可执行 jar。
76
76
@@ -116,6 +116,6 @@ Spring Boot 依赖使用到了 `org.springframework.boot` `groupId`。通常,
116
116
117
117
** 提示**
118
118
119
- ` spring-boot-starter-parent ` 是一个使用 Spring Boot 的好方式,但它并不是任何时候都适用。有时您可能需要继承不同的父 POM,或者您不喜欢我们的默认配置。请参见[ 第 13.2.2 节, “使用不带父 POM 的 Spring Boot”] ( #using-boot-maven-without-a-parent ) 作为的替代方案,其使用了 ` import ` Scope。
119
+ > ` spring-boot-starter-parent ` 是一个使用 Spring Boot 的好方式,但它并不是任何时候都适用。有时您可能需要继承不同的父 POM,或者您不喜欢我们的默认配置。请参见[ 第 13.2.2 节, “使用不带父 POM 的 Spring Boot”] ( #using-boot-maven-without-a-parent ) 作为的替代方案,其使用了 ` import ` Scope。
120
120
121
121
You can’t perform that action at this time.
0 commit comments