Spring中核心配置文件加载头部信息的两种方式

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


猜你喜欢

转载自blog.csdn.net/qicui2835/article/details/80794364
今日推荐