1、没有插件的情况下:官网拷贝代码复制
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd"> </beans>
2、有Spring插件的情况下:
applicationContext.xml右键——open with——Spring Config Editor——namespqce——选中bean