-
Jan 8th, 2013, 08:05 PM
#1
getting "An element with the identifier xxx must appear in document" exception
Hi all,
I got a quite strange problem while initializing multiple spring context,the exception "An element
with the identifier...must appear in the document" occurred when I deployed the web project to resin 3 (in-place), but when I deployed this project to resin 3, it was working fine!, could any people can help me on this? Thx a lot!
P.S. since the "<ref local='xxx'>" is working fine in resin 3, and there are a lot of <ref local> in my project, so I don't want to change them to <ref bean>.
Even I compared all the files in folder "server/webapps" and "proj/WebContent", they are exactly the same.
workFlowContext.xml
<bean id="workFlowContext" class="com.yan.workflow.WorkFlowContext">
<property name="workFlowDbSessionFactory" ref="workFlowDbSessionFactory" />
</bean>
SpringContext.xml
<bean id="subscrServiceTarget" class="com.yan.serviceimp.flow.archive.Subscrition ServiceImp">
<property name="subscrDao">
<ref local="subscrDao"/>
</property>
<property name="workFlowContext">
<ref local="workFlowContext"/>
</property>
</bean>
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules