Micro Services Architecture Foundation ----- Spring Boot project to build

Required to build the development environment:

Java8 build tools: Maven3.5.0 development tools: Eclipse Neon.3 Release (4.6.3) version with plug-STS

A. Configuration java runtime environment (Java8)

  1. Configuration environment variable Java_home

Here Insert Picture Description
2. configuration environment variable classpath
Here Insert Picture Description

two. Install build tools Maven3.5.0

1. Add the environment variable MAVEN_HOME
Here Insert Picture Description
2. configuration environment variable path
Here Insert Picture Description

III. Whether to build success in the command line to check java environment, run successfully see if maven3.6.0

Here Insert Picture Description

Four .Eclipse has been successfully installed, not described here

V. In Spring official website to download Spring Boot project

Here Insert Picture Description

VI. Import maven project in eclipse

Here Insert Picture Description

VII. Bootstrap class

Here Insert Picture Description

Eight .Application.properties file can modify the port number

Here Insert Picture Description

IX. View the port number

Here Insert Picture Description

X. Create a Spring Boot program

Here Insert Picture Description
Here Insert Picture Description
XI. Run results
Here Insert Picture Description
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/weixin_43306493/article/details/93599606