spring boot learning environment to build preface notes of ---- (How to configure Eclipse Maven and Spring Boot)

This document Source: https: //blog.csdn.net/a565649077/article/details/81042742

1.1 Eclipse ready

Install JDK and Maven (1) server, the installation process the text does not go into details, can be found on the Internet;

(2) Installation Spring Tools;

  • Open Marketplace eclipse of (help -> eclipse Marketplace)
  •  Search Spring Tools installation (STS: spring tool suite);

1.2 Establishing spring boot project

(1) --- other in the eclipse right new.

 

(2) Select Spring Starter Project, click next.

 

  •  Type is here maven, that is, indicating that the project is a maven project, while integrating the spring boot.
  • Java version is used to select running Java version.

After good (3) configuration, select Next

 

  •  Spring boot version: used to select the version of spring boot
  • Alternatively this secondary use function spring boot

After (4) configuration is complete, click next, that is, to create a successful project.

 

 

   Spring boot automatically generated classes start in the root directory.

Guess you like

Origin www.cnblogs.com/sandyflower/p/10474072.html