首先安装好spring ide(spring ide的安装请自行百度)以后,右击项目:
1、 调出spring explorer出来: eclipse—- Window—-show View —-other(输入spring explorer)— OK
2、选中项目—–右击—–Spring Tools—-add spring project nature
3、第2步操作以后,查看spring explorer会出现项目此时:
eclipse —-Spring explorer—-右击项目—Properties—-spring—-Bean support–Config Files—add —把bean.xml的文件都选上—-点击ok
4、可选:Spring —Dependency Manager 可以把automatically update dependences from Maven pom.xml选择上。
5、spring explorer—–找到你想要看的bean.xml—-右击—Open Dependency Graph即可看到依赖的关系。