Detailed explanation of spring boot construction framework
What spring boot?
Spring boot is a new framework provided by pivot team. It is designed to simplify the initial construction and development process of new spring applications. The framework uses a specific way to configure, so that developers no longer need to define templated configurations. In my words, spring boot is not a new framework. It configures the use of many frameworks by default.
Environmental preparation
A good text editor (such as VIM, Emacs, sublime text) or IDE (eclipse, idea IntelliJ) Java environment (JDK 1.8 or above) Maven 3.0 + (eclipse and idea IntelliJ are built-in. If you use IDE and do not use command-line tools, you can not install them)
Maven build project
1) Official website address http://start.spring.io/ 2) Select the build tool Maven project and spring boot version 1.5 6 and some basic project information, click "switch to the full version." Select 1.8 for Java version, as shown in the following figure:
3. Start the main program and open the browser to access http://localhost:8080/hello , you can see the effect. Does it feel very simple!