1, Setup Development Environment
1.1, Java SDK
| ~ @ yvan-mac (yvan)
| => java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
1.2, $JAVA_HOME
| => echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home
Set $JAVA_HOME environment variable on Mac OS X(Mac OSX 10.5 or later)
$ vim .bash_profile
export JAVA_HOME=$(/usr/libexec/java_home)
$ source .bash_profile
###1.3, Install Spring Tool Suite
Download [Spring Tool Suite](https://spring.io/tools/sts), and install it.
#2, Create a [Spring MVC project](https://spring.io/guides/gs/serving-web-content/) by Spring Starter Project
Click "Import Spring Getting Started Content"

Select "Serving Web Content" template

Select Install JRE to fix project error

Launch web site


Resource: [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/)