Today, I want to configure spring IDE in eclipse. I can see that many methods on the Internet are incorrect. I can see that the following methods are finally correctly configured. After configuring spring IDE, you can view the dependencies between beans, and automatically prompt the class package location when defining beans in XML. The following describes how to configure springide in Eclipse:
The following is the eclipse Helios release version.
1. Open Eclipse IDE, help-> install new software ..2. Enter updatesite http://springide.org/updatesite3.. at this time, a lot of springplug-ins are found, and you can select
Core/spring ide
Extensions/springideresources/springide 4. Restart eclipse as prompted. 5. (optional) Many other spring plug-ins depend on this ajdt. Therefore, you must first install the eclipse ajdt plug-in, updatesite:
Http://download.eclipse.org/tools/ajdt/36/update
After installation, other spring plug-ins can continue to install. The method for eclipse Juno release is as follows. Method 1 (verified): Eclipse --- help ----- eclipse marketplace ---- enter spring ---- then click Search ---- find spring ide ---- install Method 2 (not verified): eclipse -- help ---- install new software ---- enter: Http://springide.org/updatesite
4. How to view the Associations (dependencies) between spring beans in Eclipse ):
After installing spring IDE (see 3 for spring ide installation), right-click the project: (1) and call out spring Explorer: eclipse ---- Window ---- show view ---- Other (input spring Explorer) --- OK (2), select project ----- right-click ----- spring tools ---- add spring project nature (3) after step 1, view the spring explorer project. In this case, right-click eclipse ---- spring explorer ---- project --- properties ---- spring ---- bean support -- config files --- add --- put bean. select all XML files ---- click OK (4). Optional: Spring --- dependency manager can set Automa Select tically update dependences from Maven Pom. xml. (5), spring explorer ----- find the bean. xml you want to see ---- right-click --- Open dependency graph to see the dependency relationship. This document references:
Java migrant workers (detective legends)Article: Install springide Plugin in eclipse Helios
Http://hi.baidu.com/magicdetective/item/28ba29ee226e72265a2d640e