# 11. 开发你的第一个Spring Boot应用

这一节描述怎样开发一个简单的"Hello World" web应用，以此强调下Spring Boot的一些关键特性。项目采用Maven进行构建，因为大多数IDE都支持它。

**注**：[spring.io](http://spring.io/)网站包含很多Spring Boot"入门"指南，如果你需要特定问题的解决方案，可以先去那瞅瞅。你也可以简化下面的步骤，直接从[start.spring.io](https://start.spring.io/)的依赖搜索器选中`Web` starter，这会生成一个新的项目结构，然后你就可以happy的敲代码了。具体详情参考[文档](https://github.com/spring-io/initializr)。

在开始前，你需要打开终端运行以下命令，确保已经安装好了可用的Java和Maven版本：

```
$ java -version
java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)
```

```
$ mvn -v
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
Maven home: /usr/local/Cellar/maven/3.3.9/libexec Java version: 1.8.0_102, vendor: Oracle Corporation
```

**注**：该示例需要创建单独的文件夹，后续的操作建立在你已创建一个合适的文件夹，并且它是你的当前目录。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jack80342.gitbook.io/spring-boot/ii.-getting-started/11.-developing-your-first-spring-boot-application.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
