[1] springboot learn fast. Springboot quickly create project

Use tools to quickly create springboot spring initialize the project

IDEA Professional Edition integrated by default this tool, eclipse or vs code and so on can install their own search. If you do not want to install this plug-in, you can create spring boot project directly through the official website and then downloaded to the local can. The official website at the following address: https://start.spring.io/

Use spring initialize tools IDEA

Create a project when selecting spring initialize

img

Setting information maven group, project name, jdk version, the package name, etc.

img

The choice depends

img

Here I select the web under the Lombok and web under the core.

img

Lombok is a simplified general method of pojo plug. Web is a web of dependence core springboot friends. Then the next step has been to complete the creation of the project.

The introduction of automatic dependent

img

Project structure

img

SpringbootApplication is springboot project start classes. SpringbootApplicationTests is a class of unit testing springboot, here to not pay attention to it.

Startup project

img

Described here in 8080 started the project. Browser access through the port, the following pages illustrate springboot environment to build success

img

Guess you like

Origin www.cnblogs.com/happy4java/p/11203611.html