Installing MAVEN and spring boot in eclipse
1. Open Help->install new software
2. Point Add,name (Maven), location (http://download.eclipse.org/technology/m2e/releases), Ok,select and next to the installation, wait for the installation to complete.
3. Create a new MAVEN project
File->new->project, select Maven Project
Next to
Enter the Artifact ID (project name), group ID (project domain name, com. XXX), Finish.
4. Click Pom.xml under Pom.xml-> to insert the code below in the corresponding location.
<!--set Maven's JDK version to 1.8
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
5. Enter http://projects.spring.io/spring-boot/, copy the following code, and insert it into the corresponding position of the pom.xml.
Note Change the version to 1.5.1,
Save Pom.xml
6. Create a new class under this directory, named Samplecontroller
7. Enter http://projects.spring.io/spring-boot/, insert code
Save, right-click the code area and select Run As->java application.
8. Open the browser input http://localhost:8080/, the Hello world! appears Complete.
Installing MAVEN and spring boot in eclipse