eclipse install spring-tool-suite plugin

Contents page : " Spring4.1.4 Study Notes "




This article describes the steps of the Eclopse basic spring tool plug-in.

Here is a question, why do you have to integrate the spring plug-in?

Of course it is not necessary. In actual project development, if we create a spring file, it is actually an xml file. If there is no integrated spring development tool, what is created is a simple xml file.
copyright www.itxxz.com 
But recalling spring's files, they are all defined with header identifiers. If there are ready-made files, they can be copied directly, but what if they don't?

Let's take a look at what it looks like to create a spring file through spring's tools, as shown below:

1. Create a bean file



2. Enter the file name applicationContext.xml



3. The template file will be automatically displayed here



4. After creation, it will be automatically populated If the header is not defined




here, you can find that when we create a spring file, the IDE will automatically complete the required configuration for us. We only need to finish it after next. 

Here's how to add spring tool suite plug-ins.

1. There are two ways to integrate the spring plug-in in eclipse, one is online installation and the other is local installation. The two-week method is similar. Here is an example of local installation;

first download the plug-in from the official website, address: http://spring.io/tools/sts/all



Select the first click to download.

2. Click help in the eclipse menu bar -> 
Install  new Software and follow the

steps below




 





3、点击yes后,eclipse会重启,如果安装成功,重启后会添加spring的相关组件





至此,spring的tool插件就安装成功了

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326439179&siteId=291194637