【发布时间】:2018-05-08 03:37:01
【问题描述】:
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
<import resource="classpath:context2.xml"/>
<import resource="classpath:context3.xml" />
这里 Context1.xml 被 context2.xml 覆盖,context 1.xml 和 context2.xml 都是 MDB 的。 context3.xml 没有问题。 上下文 1 和上下文 2 有一些相同的 Bean ID,但具有不同的属性和引用。
【问题讨论】:
-
-
您的问题不完整。提供一些代码以明确图片 id 问题。
标签: java xml spring spring-mvc