Jan 8th, 2013, 08:05 PM
getting "An element with the identifier xxx must appear in document" exception
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.
<bean id="workFlowContext" class="com.yan.workflow.WorkFlowContext">
<property name="workFlowDbSessionFactory" ref="workFlowDbSessionFactory" />
<bean id="subscrServiceTarget" class="com.yan.serviceimp.flow.archive.Subscrition ServiceImp">
Tags for this Thread