Feature Article

SpringBoot 官方文档翻译 05 — 安装 Spring Boot (Installing Spring Boot)

Spring Boot 官方文档翻译系列:Maven、Gradle 及 CLI 的安装说明。

SERIES 《SpringBoot翻译》 第 5 篇 共 211 篇
分类

安装 Spring Boot

原文:https://docs.spring.io/spring-boot/installing.html (Spring Boot 4.2.0)

Spring Boot 可以与"传统"的 Java 开发工具一起使用,也可以作为命令行工具安装。无论哪种方式,你都需要 Java SDK v17 或更高版本。开始之前,应使用以下命令检查当前的 Java 安装:

$ java -version

如果你刚接触 Java 开发,或者想体验 Spring Boot,不妨先试试 Spring Boot CLI(命令行界面)。否则,请继续阅读"传统"安装说明。

Java 开发者安装说明

你可以像使用任何标准 Java 库一样使用 Spring Boot。只需在 classpath 中包含相应的 spring-boot-*.jar 文件即可。Spring Boot 不需要任何特殊的工具集成,因此你可以使用任何 IDE 或文本编辑器。此外,Spring Boot 应用并没有什么特别之处,你可以像运行和调试其他 Java 程序一样运行和调试 Spring Boot 应用。

尽管你可以直接复制 Spring Boot 的 jar,但我们通常建议使用支持依赖管理的构建工具(如 Maven 或 Gradle)。

Maven 安装

Spring Boot 兼容 Apache Maven 3.6.3 或更高版本。如果你尚未安装 Maven,可以按照 maven.apache.org 上的说明进行安装。

在许多操作系统上,Maven 可以通过包管理器安装。如果你使用 OSX Homebrew,可以尝试 brew install maven。Ubuntu 用户可以运行 sudo apt-get install maven。使用 Chocolatey 的 Windows 用户可以在提升权限(管理员)的命令提示符中运行 choco install maven。

Spring Boot 依赖使用 org.springframework.boot 作为 group id。通常,你的 Maven POM 文件会继承 spring-boot-starter-parent 项目,并声明对一个或多个 starter 的依赖。Spring Boot 还提供了一个可选的 Maven 插件 用于创建可执行 jar。

有关使用 Spring Boot 和 Maven 入门的更多细节,请参阅 Maven 插件参考指南的 Getting Started 部分。

Gradle 安装

Spring Boot 兼容 Gradle 8.x(8.14 或更高版本)或 9.x。如果你尚未安装 Gradle,可以按照 gradle.org 上的说明进行安装。

Spring Boot 依赖可以使用 org.springframework.boot group 声明。通常,你的项目会声明对一个或多个 starter 的依赖。Spring Boot 提供了一个有用的 Gradle 插件,可用于简化依赖声明并创建可执行 jar。

Gradle Wrapper

Gradle Wrapper 提供了一种在需要构建项目时"获取" Gradle 的好方法。它是一个小脚本和库,与代码一起提交,用于引导构建过程。详情请参阅 docs.gradle.org/current/userguide/gradle_wrapper.html。

有关使用 Spring Boot 和 Gradle 入门的更多细节,请参阅 Gradle 插件参考指南的 Getting Started 部分。

安装 Spring Boot CLI

Spring Boot CLI(命令行界面)是一个命令行工具,可用于快速使用 Spring 构建原型。

你不必使用 CLI 也能使用 Spring Boot,但它是无需 IDE 就能快速搭建 Spring 应用的一种方式。

手动安装

你可以从以下位置之一下载 Spring CLI 发行包:

下载后,按照解压归档中 INSTALL.txt 的说明操作。简而言之,.zip 文件中的 bin/ 目录下有一个 spring 脚本(Windows 下为 spring.bat)。另外,你也可以对 .jar 文件使用 java -jar(该脚本可帮助你确保 classpath 设置正确)。

使用 SDKMAN! 安装

SDKMAN!(软件开发工具包管理器)可用于管理各种二进制 SDK 的多个版本,包括 Groovy 和 Spring Boot CLI。从 sdkman.io 获取 SDKMAN!,并使用以下命令安装 Spring Boot:

$ sdk install springboot
$ spring --version
Spring CLI v4.2.0

如果你为 CLI 开发功能并希望访问自己构建的版本,请使用以下命令:

$ sdk install springboot dev /path/to/spring-boot/spring-boot-cli/target/spring-boot-cli-4.2.0-bin/spring-4.2.0/
$ sdk default springboot dev
$ spring --version
Spring CLI v4.2.0

上述命令安装了一个名为 dev 的本地 spring 实例。它指向你的 target 构建位置,因此每次重新构建 Spring Boot 时,spring 都是最新的。

你可以运行以下命令查看:

$ sdk ls springboot

================================================================================
Available Springboot Versions
================================================================================
> + dev
* 4.2.0

================================================================================
+ - local version
* - installed
> - currently in use
================================================================================

OSX Homebrew 安装

如果你使用 Mac 并安装了 Homebrew,可以使用以下命令安装 Spring Boot CLI:

$ brew tap spring-io/tap
$ brew install spring-boot

Homebrew 会将 spring 安装到 /usr/local/bin。

如果看不到该 formula,可能是你的 brew 安装已过时。在这种情况下,运行 brew update 后重试。

MacPorts 安装

如果你使用 Mac 并安装了 MacPorts,可以使用以下命令安装 Spring Boot CLI:

$ sudo port install spring-boot-cli

命令行补全

Spring Boot CLI 包含为 BASH 和 zsh shell 提供命令补全的脚本。你可以 source 名为 spring 的脚本(zsh 下为 _spring),或将其放入个人或系统级的 bash 补全初始化中。在 Debian 系统上,系统级脚本位于 */shell-completion/ 中,新 shell 启动时会执行该目录中的所有脚本。例如,如果你使用 SDKMAN! 安装,可以手动运行脚本:

$ . ~/.sdkman/candidates/springboot/current/shell-completion/bash/spring
$ spring
 encodepassword help init shell version

如果你使用 Homebrew 或 MacPorts 安装 Spring Boot CLI,命令行补全脚本会自动注册到你的 shell 中。

Windows Scoop 安装

如果你使用 Windows 并安装了 Scoop,可以使用以下命令安装 Spring Boot CLI:

$ scoop bucket add extras
$ scoop install springboot

Scoop 会将 spring 安装到 ~/scoop/apps/springboot/current/bin。

如果看不到应用清单,可能是你的 scoop 安装已过时。在这种情况下,运行 scoop update 后重试。

系统要求 升级 Spring Boot

SERIES / PATH

系列目录

查看系列页
  1. 第 1 篇 SpringBoot 官方文档翻译 01 — 概述 (Overview)
  2. 第 2 篇 SpringBoot 官方文档翻译 02 — 文档概览 (Documentation Overview)
  3. 第 3 篇 SpringBoot 官方文档翻译 03 — 社区 (Community)
  4. 第 4 篇 SpringBoot 官方文档翻译 04 — 系统要求 (System Requirements)
  5. 第 5 篇 SpringBoot 官方文档翻译 05 — 安装 Spring Boot (Installing Spring Boot)
  6. 第 6 篇 SpringBoot 官方文档翻译 06 — 升级 Spring Boot (Upgrading Spring Boot)
  7. 第 7 篇 SpringBoot 官方文档翻译 07 — 教程 (Tutorials)
  8. 第 8 篇 SpringBoot 官方文档翻译 08 — 开发第一个 Spring Boot 应用 (Developing Your First Spring Boot Application)
  9. 第 9 篇 SpringBoot 官方文档翻译 09 — 参考文档 (Reference)
  10. 第 10 篇 SpringBoot 官方文档翻译 10 — 使用 Spring Boot 进行开发 (Developing with Spring Boot)
  11. 第 11 篇 SpringBoot 官方文档翻译 11 — 构建系统 (Build Systems)
  12. 第 12 篇 SpringBoot 官方文档翻译 12 — 代码结构 (Structuring Your Code)
  13. 第 13 篇 SpringBoot 官方文档翻译 13 — 配置类 (Configuration Classes)
  14. 第 14 篇 SpringBoot 官方文档翻译 14 — 自动配置 (Auto-configuration)
  15. 第 15 篇 SpringBoot 官方文档翻译 15 — Spring Bean 与依赖注入 (Spring Beans and Dependency Injection)
  16. 第 16 篇 SpringBoot 官方文档翻译 16 — 使用 @SpringBootApplication 注解
  17. 第 17 篇 SpringBoot 官方文档翻译 17 — 运行你的应用 (Running Your Application)
  18. 第 18 篇 SpringBoot 官方文档翻译 18 — 开发工具 (Developer Tools)
  19. 第 19 篇 SpringBoot 官方文档翻译 19 — 为生产打包应用
  20. 第 20 篇 SpringBoot 官方文档翻译 20 — 核心特性 (Core Features)
  21. 第 21 篇 SpringBoot 官方文档翻译 21 — SpringApplication
  22. 第 22 篇 SpringBoot 官方文档翻译 22 — 外部化配置 (Externalized Configuration)
  23. 第 23 篇 SpringBoot 官方文档翻译 23 — Profile
  24. 第 24 篇 SpringBoot 官方文档翻译 24 — 日志 (Logging)
  25. 第 25 篇 SpringBoot 官方文档翻译 25 — 国际化 (Internationalization)
  26. 第 26 篇 SpringBoot 官方文档翻译 26 — 面向切面编程 (AOP)
  27. 第 27 篇 SpringBoot 官方文档翻译 27 — JSON
  28. 第 28 篇 SpringBoot 官方文档翻译 28 — 任务执行与调度 (Task Execution and Scheduling)
  29. 第 29 篇 SpringBoot 官方文档翻译 29 — 开发时服务 (Development-time Services)
  30. 第 30 篇 SpringBoot 官方文档翻译 30 — 创建你自己的自动配置 (Creating Your Own Auto-configuration)
  31. 第 31 篇 SpringBoot 官方文档翻译 31 — Kotlin 支持 (Kotlin Support)
  32. 第 32 篇 SpringBoot 官方文档翻译 32 — SSL
  33. 第 33 篇 SpringBoot 官方文档翻译 33 — Web
  34. 第 34 篇 SpringBoot 官方文档翻译 34 — Servlet Web 应用 (Servlet Web Applications)
  35. 第 35 篇 SpringBoot 官方文档翻译 35 — 响应式 Web 应用 (Reactive Web Applications)
  36. 第 36 篇 SpringBoot 官方文档翻译 36 — 优雅关闭 (Graceful Shutdown)
  37. 第 37 篇 SpringBoot 官方文档翻译 37 — Spring Security
  38. 第 38 篇 SpringBoot 官方文档翻译 38 — Spring Session
  39. 第 39 篇 SpringBoot 官方文档翻译 39 — Spring for GraphQL
  40. 第 40 篇 SpringBoot 官方文档翻译 40 — Spring HATEOAS
  41. 第 41 篇 SpringBoot 官方文档翻译 41 — 数据 (Data)
  42. 第 42 篇 SpringBoot 官方文档翻译 42 — SQL 数据库 (SQL Databases)
  43. 第 43 篇 SpringBoot 官方文档翻译 43 — 使用 NoSQL 技术 (Working with NoSQL Technologies)
  44. 第 44 篇 SpringBoot 官方文档翻译 44 — IO
  45. 第 45 篇 SpringBoot 官方文档翻译 45 — 缓存 (Caching)
  46. 第 46 篇 SpringBoot 官方文档翻译 46 — Spring Batch
  47. 第 47 篇 SpringBoot 官方文档翻译 47 — gRPC
  48. 第 48 篇 SpringBoot 官方文档翻译 48 — Hazelcast
  49. 第 49 篇 SpringBoot 官方文档翻译 49 — Quartz Scheduler
  50. 第 50 篇 SpringBoot 官方文档翻译 50 — 发送电子邮件 (Sending Email)
  51. 第 51 篇 SpringBoot 官方文档翻译 51 — 校验 (Validation)
  52. 第 52 篇 SpringBoot 官方文档翻译 52 — 调用 REST 服务 (Calling REST Services)
  53. 第 53 篇 SpringBoot 官方文档翻译 53 — Web Services
  54. 第 54 篇 SpringBoot 官方文档翻译 54 — 使用 JTA 的分布式事务
  55. 第 55 篇 SpringBoot 官方文档翻译 55 — 消息 (Messaging)
  56. 第 56 篇 SpringBoot 官方文档翻译 56 — JMS
  57. 第 57 篇 SpringBoot 官方文档翻译 57 — AMQP
  58. 第 58 篇 SpringBoot 官方文档翻译 58 — Apache Kafka 支持
  59. 第 59 篇 SpringBoot 官方文档翻译 59 — Apache Pulsar 支持
  60. 第 60 篇 SpringBoot 官方文档翻译 60 — RSocket
  61. 第 61 篇 SpringBoot 官方文档翻译 61 — Spring Integration
  62. 第 62 篇 SpringBoot 官方文档翻译 62 — WebSockets
  63. 第 63 篇 SpringBoot 官方文档翻译 63 — 安全 (Security)
  64. 第 64 篇 SpringBoot 官方文档翻译 64 — OAuth2
  65. 第 65 篇 SpringBoot 官方文档翻译 65 — SAML 2.0
  66. 第 66 篇 SpringBoot 官方文档翻译 66 — 测试 (Testing)
  67. 第 67 篇 SpringBoot 官方文档翻译 67 — 测试模块 (Test Modules)
  68. 第 68 篇 SpringBoot 官方文档翻译 68 — 测试作用域依赖
  69. 第 69 篇 SpringBoot 官方文档翻译 69 — 测试 Spring 应用
  70. 第 70 篇 SpringBoot 官方文档翻译 70 — 测试 Spring Boot 应用
  71. 第 71 篇 SpringBoot 官方文档翻译 71 — Testcontainers
  72. 第 72 篇 SpringBoot 官方文档翻译 72 — 测试实用工具 (Test Utilities)
  73. 第 73 篇 SpringBoot 官方文档翻译 73 — 打包 Spring Boot 应用
  74. 第 74 篇 SpringBoot 官方文档翻译 74 — 高效部署
  75. 第 75 篇 SpringBoot 官方文档翻译 75 — AOT 缓存
  76. 第 76 篇 SpringBoot 官方文档翻译 76 — JVM 提前处理
  77. 第 77 篇 SpringBoot 官方文档翻译 77 — GraalVM 原生镜像
  78. 第 78 篇 SpringBoot 官方文档翻译 78 — 介绍 GraalVM 原生镜像
  79. 第 79 篇 SpringBoot 官方文档翻译 79 — 高级原生镜像主题
  80. 第 80 篇 SpringBoot 官方文档翻译 80 — JVM 检查点与恢复
  81. 第 81 篇 SpringBoot 官方文档翻译 81 — 容器镜像
  82. 第 82 篇 SpringBoot 官方文档翻译 82 — 高效容器镜像
  83. 第 83 篇 SpringBoot 官方文档翻译 83 — Dockerfile
  84. 第 84 篇 SpringBoot 官方文档翻译 84 — Cloud Native Buildpacks
  85. 第 85 篇 SpringBoot 官方文档翻译 85 — 生产就绪特性
  86. 第 86 篇 SpringBoot 官方文档翻译 86 — 启用生产就绪特性
  87. 第 87 篇 SpringBoot 官方文档翻译 87 — 端点 (Endpoints)
  88. 第 88 篇 SpringBoot 官方文档翻译 88 — 通过 HTTP 监控与管理
  89. 第 89 篇 SpringBoot 官方文档翻译 89 — 通过 JMX 监控与管理
  90. 第 90 篇 SpringBoot 官方文档翻译 90 — 可观测性 (Observability)
  91. 第 91 篇 SpringBoot 官方文档翻译 91 — 日志(Actuator)
  92. 第 92 篇 SpringBoot 官方文档翻译 92 — 指标 (Metrics)
  93. 第 93 篇 SpringBoot 官方文档翻译 93 — 追踪 (Tracing)
  94. 第 94 篇 SpringBoot 官方文档翻译 94 — 审计
  95. 第 95 篇 SpringBoot 官方文档翻译 95 — 记录 HTTP 交换
  96. 第 96 篇 SpringBoot 官方文档翻译 96 — 进程监控
  97. 第 97 篇 SpringBoot 官方文档翻译 97 — Cloud Foundry 支持
  98. 第 98 篇 SpringBoot 官方文档翻译 98 — How-to 指南
  99. 第 99 篇 SpringBoot 官方文档翻译 99 — Spring Boot 应用
  100. 第 100 篇 SpringBoot 官方文档翻译 100 — 属性与配置
  101. 第 101 篇 SpringBoot 官方文档翻译 101 — 嵌入式 Web 服务器
  102. 第 102 篇 SpringBoot 官方文档翻译 102 — Spring MVC
  103. 第 103 篇 SpringBoot 官方文档翻译 103 — Jersey
  104. 第 104 篇 SpringBoot 官方文档翻译 104 — HTTP 客户端
  105. 第 105 篇 SpringBoot 官方文档翻译 105 — 日志
  106. 第 106 篇 SpringBoot 官方文档翻译 106 — 数据访问
  107. 第 107 篇 SpringBoot 官方文档翻译 107 — 数据库初始化
  108. 第 108 篇 SpringBoot 官方文档翻译 108 — NoSQL
  109. 第 109 篇 SpringBoot 官方文档翻译 109 — 消息
  110. 第 110 篇 SpringBoot 官方文档翻译 110 — 批处理应用
  111. 第 111 篇 SpringBoot 官方文档翻译 111 — Actuator
  112. 第 112 篇 SpringBoot 官方文档翻译 112 — 安全
  113. 第 113 篇 SpringBoot 官方文档翻译 113 — 热交换
  114. 第 114 篇 SpringBoot 官方文档翻译 114 — 测试
  115. 第 115 篇 SpringBoot 官方文档翻译 115 — 构建
  116. 第 116 篇 SpringBoot 官方文档翻译 116 — 提前处理
  117. 第 117 篇 SpringBoot 官方文档翻译 117 — GraalVM 原生应用
  118. 第 118 篇 SpringBoot 官方文档翻译 118 — 开发第一个 GraalVM 原生应用
  119. 第 119 篇 SpringBoot 官方文档翻译 119 — 测试 GraalVM 原生镜像
  120. 第 120 篇 SpringBoot 官方文档翻译 120 — AOT 缓存
  121. 第 121 篇 SpringBoot 官方文档翻译 121 — 部署 Spring Boot 应用
  122. 第 122 篇 SpringBoot 官方文档翻译 122 — 传统部署
  123. 第 123 篇 SpringBoot 官方文档翻译 123 — 部署到云
  124. 第 124 篇 SpringBoot 官方文档翻译 124 — 安装 Spring Boot 应用
  125. 第 125 篇 SpringBoot 官方文档翻译 125 — Docker Compose
  126. 第 126 篇 SpringBoot 官方文档翻译 126 — 构建工具插件
  127. 第 127 篇 SpringBoot 官方文档翻译 127 — Maven 插件
  128. 第 128 篇 SpringBoot 官方文档翻译 128 — Maven 插件入门
  129. 第 129 篇 SpringBoot 官方文档翻译 129 — 使用 Maven 插件
  130. 第 130 篇 SpringBoot 官方文档翻译 130 — Maven 插件目标
  131. 第 131 篇 SpringBoot 官方文档翻译 131 — Maven 打包可执行归档
  132. 第 132 篇 SpringBoot 官方文档翻译 132 — Maven 打包 OCI 镜像
  133. 第 133 篇 SpringBoot 官方文档翻译 133 — 使用 Maven 运行应用
  134. 第 134 篇 SpringBoot 官方文档翻译 134 — Maven 提前处理
  135. 第 135 篇 SpringBoot 官方文档翻译 135 — Maven 运行集成测试
  136. 第 136 篇 SpringBoot 官方文档翻译 136 — Maven 与 Actuator 集成
  137. 第 137 篇 SpringBoot 官方文档翻译 137 — Maven 帮助信息
  138. 第 138 篇 SpringBoot 官方文档翻译 138 — Gradle 插件
  139. 第 139 篇 SpringBoot 官方文档翻译 139 — Gradle 插件入门
  140. 第 140 篇 SpringBoot 官方文档翻译 140 — Gradle 依赖管理
  141. 第 141 篇 SpringBoot 官方文档翻译 141 — Gradle 打包可执行归档
  142. 第 142 篇 SpringBoot 官方文档翻译 142 — Gradle 打包 OCI 镜像
  143. 第 143 篇 SpringBoot 官方文档翻译 143 — Gradle 发布应用
  144. 第 144 篇 SpringBoot 官方文档翻译 144 — 使用 Gradle 运行应用
  145. 第 145 篇 SpringBoot 官方文档翻译 145 — Gradle 提前处理
  146. 第 146 篇 SpringBoot 官方文档翻译 146 — Gradle 与 Actuator 集成
  147. 第 147 篇 SpringBoot 官方文档翻译 147 — Gradle 对其他插件的反应
  148. 第 148 篇 SpringBoot 官方文档翻译 148 — Spring Boot AntLib 模块
  149. 第 149 篇 SpringBoot 官方文档翻译 149 — 支持其他构建系统
  150. 第 150 篇 SpringBoot 官方文档翻译 150 — Spring Boot CLI
  151. 第 151 篇 SpringBoot 官方文档翻译 151 — 安装 CLI
  152. 第 152 篇 SpringBoot 官方文档翻译 152 — 使用 CLI
  153. 第 153 篇 SpringBoot 官方文档翻译 153 — Actuator REST API
  154. 第 154 篇 SpringBoot 官方文档翻译 154 — Actuator API: 审计事件 (auditevents)
  155. 第 155 篇 SpringBoot 官方文档翻译 155 — Actuator API: Bean (beans)
  156. 第 156 篇 SpringBoot 官方文档翻译 156 — Actuator API: 缓存 (caches)
  157. 第 157 篇 SpringBoot 官方文档翻译 157 — Actuator API: 条件评估报表 (conditions)
  158. 第 158 篇 SpringBoot 官方文档翻译 158 — Actuator API: 配置属性 (configprops)
  159. 第 159 篇 SpringBoot 官方文档翻译 159 — Actuator API: 环境 (env)
  160. 第 160 篇 SpringBoot 官方文档翻译 160 — Actuator API: Flyway (flyway)
  161. 第 161 篇 SpringBoot 官方文档翻译 161 — Actuator API: 健康 (health)
  162. 第 162 篇 SpringBoot 官方文档翻译 162 — Actuator API: 堆转储 (heapdump)
  163. 第 163 篇 SpringBoot 官方文档翻译 163 — Actuator API: HTTP 交换 (httpexchanges)
  164. 第 164 篇 SpringBoot 官方文档翻译 164 — Actuator API: 应用信息 (info)
  165. 第 165 篇 SpringBoot 官方文档翻译 165 — Actuator API: Spring Integration 图 (integrationgraph)
  166. 第 166 篇 SpringBoot 官方文档翻译 166 — Actuator API: Liquibase (liquibase)
  167. 第 167 篇 SpringBoot 官方文档翻译 167 — Actuator API: 日志文件 (logfile)
  168. 第 168 篇 SpringBoot 官方文档翻译 168 — Actuator API: Loggers (loggers)
  169. 第 169 篇 SpringBoot 官方文档翻译 169 — Actuator API: 映射 (mappings)
  170. 第 170 篇 SpringBoot 官方文档翻译 170 — Actuator API: 指标 (metrics)
  171. 第 171 篇 SpringBoot 官方文档翻译 171 — Actuator API: Prometheus (prometheus)
  172. 第 172 篇 SpringBoot 官方文档翻译 172 — Actuator API: Quartz (quartz)
  173. 第 173 篇 SpringBoot 官方文档翻译 173 — Actuator API: 软件物料清单 (sbom)
  174. 第 174 篇 SpringBoot 官方文档翻译 174 — Actuator API: 计划任务 (scheduledtasks)
  175. 第 175 篇 SpringBoot 官方文档翻译 175 — Actuator API: 会话 (sessions)
  176. 第 176 篇 SpringBoot 官方文档翻译 176 — Actuator API: 关闭 (shutdown)
  177. 第 177 篇 SpringBoot 官方文档翻译 177 — Actuator API: 应用启动 (startup)
  178. 第 178 篇 SpringBoot 官方文档翻译 178 — Actuator API: 线程转储 (threaddump)
  179. 第 179 篇 SpringBoot 官方文档翻译 179 — Spring Boot Java API
  180. 第 180 篇 SpringBoot 官方文档翻译 180 — Gradle Plugin Java API
  181. 第 181 篇 SpringBoot 官方文档翻译 181 — Maven Plugin Java API
  182. 第 182 篇 SpringBoot 官方文档翻译 182 — Spring Boot Kotlin API
  183. 第 183 篇 SpringBoot 官方文档翻译 183 — 配置元数据
  184. 第 184 篇 SpringBoot 官方文档翻译 184 — 元数据格式
  185. 第 185 篇 SpringBoot 官方文档翻译 185 — 提供手动提示
  186. 第 186 篇 SpringBoot 官方文档翻译 186 — 使用注解处理器生成元数据
  187. 第 187 篇 SpringBoot 官方文档翻译 187 — 可执行 Jar 格式
  188. 第 188 篇 SpringBoot 官方文档翻译 188 — 嵌套 JAR
  189. 第 189 篇 SpringBoot 官方文档翻译 189 — NestedJarFile 类
  190. 第 190 篇 SpringBoot 官方文档翻译 190 — 启动可执行 Jar
  191. 第 191 篇 SpringBoot 官方文档翻译 191 — PropertiesLauncher 特性
  192. 第 192 篇 SpringBoot 官方文档翻译 192 — 可执行 Jar 限制
  193. 第 193 篇 SpringBoot 官方文档翻译 193 — 替代的单一 Jar 方案
  194. 第 194 篇 SpringBoot 官方文档翻译 194 — 常见应用属性
  195. 第 195 篇 SpringBoot 官方文档翻译 195 — 已弃用的应用属性
  196. 第 196 篇 SpringBoot 官方文档翻译 196 — 自动配置类
  197. 第 197 篇 SpringBoot 官方文档翻译 197 — 测试自动配置注解
  198. 第 198 篇 SpringBoot 官方文档翻译 198 — 测试切片
  199. 第 199 篇 SpringBoot 官方文档翻译 199 — 依赖版本
  200. 第 200 篇 SpringBoot 官方文档翻译 200 — 管理的依赖坐标
  201. 第 201 篇 SpringBoot 官方文档翻译 201 — 版本属性
  202. 第 202 篇 SpringBoot 官方文档翻译 202 — 自动配置类: spring-boot-activemq
  203. 第 203 篇 SpringBoot 官方文档翻译 203 — 自动配置类: spring-boot-actuator-autoconfigure
  204. 第 204 篇 SpringBoot 官方文档翻译 204 — 自动配置类: spring-boot-amqp
  205. 第 205 篇 SpringBoot 官方文档翻译 205 — 自动配置类: spring-boot-amqp-rabbitmq
  206. 第 206 篇 SpringBoot 官方文档翻译 206 — 自动配置类: spring-boot-artemis
  207. 第 207 篇 SpringBoot 官方文档翻译 207 — 自动配置类: spring-boot-autoconfigure
  208. 第 208 篇 SpringBoot 官方文档翻译 208 — 自动配置类: spring-boot-batch
  209. 第 209 篇 SpringBoot 官方文档翻译 209 — 自动配置类: spring-boot-batch-data-mongodb
  210. 第 210 篇 SpringBoot 官方文档翻译 210 — 自动配置类: spring-boot-batch-jdbc
  211. 第 211 篇 SpringBoot 官方文档翻译 211 — 自动配置类: spring-boot-cache

RESPONSES / LOG

读者来信 / RESPONSES

发表评论

评论需审核后展示。

暂无评论