Install the Spring plugin in Eclipse: Spring tools suit

Step 1: Search and install the plugin

Open the plug-in market that comes with Eclipse and search for the keyword "spring tools suit":

Pay attention to check the version number in the search results, theoretically it should be the latest version number officially released. If you are not at ease, you can enter the Spring official website to confirm.

Official website address: Spring | Home

After entering the official website, you can find "Spring tools" in the menu bar

After clicking to enter, I found that the version numbers are indeed consistent:

If you find inconsistencies, you can decide whether to install them online directly from the plug-in market that comes with Eclipse, or manually download them from the Spring official website. Here I choose to install directly from the plug-in market.

Select the components to be installed:

 After clicking "Confirm", enter the next step, choose to agree to the relevant agreement text, if you do not agree, you cannot install:

After the installation is complete, you need to restart Eclipse:

Step 2: Confirm that the installation is complete

This step is very simple. First, you can try to create a new Spring Boot project. If you see the options in the figure below, it means that the Spring plugin has been installed successfully:

 If you have an "ancestral" Spring project, find its Application.java, right-click it, select "Run As", and in the expanded secondary menu, select "Spring Boot App":

 After the project starts, you can see Spring's log output on the console:

Guess you like

Origin blog.csdn.net/freezingxu/article/details/122781751