Three ways to create a spring boot

A. Creating online

1. Online Address: https://start.spring.io/

Then you need to fill in the final version of the download button to click Generate the project last reference to it

 

 

II. Using the IDE to create

I use work tool IDEA

 

 

Next is to pay attention to what you choose the path of address when you change the project location to manually add their own names behind the project

Then click Done it.

 

 III. Constructed by maven

 Since spring boot, essentially a maven project, so you can create a maven project, once again transform into a springboot project

 

 

 

 Then we went to the landing Quguan network dependent

https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#getting-started-first-application

          This dependence should be added to it

Test used

 

 

 

All right

 

carry out

 

Guess you like

Origin www.cnblogs.com/limingming1993/p/11131077.html