Spring IDE 添加xml文件

1.配置好了spring IDE之後,能夠查看bean之間的依賴關係,並且xml中bean定義的時候能夠自動提示類的包的位置等。
  下面是詳細的方法
  eclipse配置springIDE

  以下是eclipse Helios  Release版本的方法。

  1.打開eclipse ide,help->install new software..
  2.輸入updatesite http://springide.org/updatesite
  3.這時會出現不少關於spring的插件,選擇以下勾選

  Core/Spring IDE
  Extensions/SpringIDE
  Resources/SpringIDE
  4.按提示重啓eclipse.
  5.(可選)有不少其它的spring插件都會依賴於這個ajdt,因此你先要安裝eclipse ajdt插件,updatesite:http://download.eclipse.org/tools/ajdt/36/update
  安裝完以後,spring的其它插件就能夠繼續安裝了
  果圖

  以下是eclipse Juno Release版本的方法。
  方法1(已驗證):eclipse---help-----Eclipse Marketplace----輸入spring----而後點擊查找----找到spring ide ----install
  方法2(未驗證):eclipse --help ----install new software----在Work with欄輸入:http://springide.org/updatesite

2.安裝完spring IDE後,選擇你的項目。反鍵------new-----other---spring bean configuration file
ios

選擇你的項目  ,填寫文件名稱spring

選擇你spring的版本號eclipse