From bf1587ed0226466d5cb30cf9b8b531f47ccea629 Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Sun, 15 Mar 2015 23:46:26 +0800 Subject: [PATCH] Update 11. Developing your first Spring Boot application.md --- ...ping your first Spring Boot application.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/II. Getting started/11. Developing your first Spring Boot application.md b/II. Getting started/11. Developing your first Spring Boot application.md index e69de29..bbe5e36 100644 --- a/II. Getting started/11. Developing your first Spring Boot application.md +++ b/II. Getting started/11. Developing your first Spring Boot application.md @@ -0,0 +1,20 @@ +### 11. 开发你的第一个Spring Boot应用 + +让我们使用Java开发一个简单的"Hello World!" web应用,来强调下Spring Boot的一些关键特性。我们将使用Maven构建该项目,因为大多数IDEs都支持它。 + +**注**:[spring.io](http://spring.io/)网站包含很多使用Spring Boot的"入门"指南。如果你正在找特定问题的解决方案,可以先去那瞅瞅。 + +在开始前,你需要打开一个终端,检查是否安装可用的Java版本和Maven: +```shell +$ java -version +java version "1.7.0_51" +Java(TM) SE Runtime Environment (build 1.7.0_51-b13) +Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode) +``` +```shell +$ mvn -v +Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T13:58:10-07:00) +Maven home: /Users/user/tools/apache-maven-3.1.1 +Java version: 1.7.0_51, vendor: Oracle Corporation +``` +**注**:该示例需要创建自己的文件夹。后续的操作假设你已创建一个合适的文件夹,并且它是你的“当前目录”。