springboot2.x basic tutorial: quick start

Here is the beginning of the first part of the SpringBoot2.x tutorial. The development tool is idea+JDK1.8+Maven. The prerequisite for learning is that everyone should also install and configure the development environment in advance.
Spring officially provides a very convenient tool Spring Initializr to help us create Spring Boot applications
. Lead everyone to use the Idea development tool to quickly create a SpringBoot Web project

Idea new project choose Spring Initializr

Insert picture description here

The project is built using Maven, specify the Jdk version to 1.8, modify the project GroupId, ArtifactId

[External link image transfer failed. The source site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-N0b9JxFU-1598450481561)(https://www.codehome.vip/wp-content/uploads/2020/07 /newproject.png)]

Select SpringBoot version, here select the latest 2.3.2, check SpringWeb dependency

[External link image transfer failed. The source site may have an anti-leech link mechanism. It is recommended to save the image and upload it directly (img-rgmwNcb1-1598450481564)(https://www.codehome.vip/wp-content/uploads/2020/08 /newproject2.png)]

At this point, open the project in the next step, download the project dependencies, and start the SpringBoot project normally

A thousand miles begins with a single step. Don't dislike the simplicity at the beginning. Later, I will introduce all aspects of SpringBoot based on this project. The source code of all projects can be downloaded on my GitHub .

Guess you like

Origin blog.csdn.net/github_35592621/article/details/108248686