Greetings, I am using Spring with Castor's marshaller.
I have two mapping files (order-commands-mapping.xml and order-beans-mapping.xml), with one including the other: e.g. order-commands-mapping.xml contains the following: <castor:include href="order-beans-mapping.xml" /> Both mapping files are in the classes directory under WEB-INF. The Spring configuration contains: <spring:bean id="marshaller" class="org.springframework.oxm.castor.CastorMarshaller"> <spring:property name="mappingLocation" value="classpath:order-commands-mapping.xml"/> </spring:bean> At startup Castor logs the following: 2010-10-28 22:50:33,531 [org.castor.mapping.MappingUnmarshallListener] (MappingUnmarshallListener.java:90) WARN - Problem org.exolab.castor.xml.MarshalException: C:\EclipseFoundation\apache-tomcat-6.0.29\order-beans-mapping.xml (The system cannot find the file specified) (I didn't include the whole stack trace in case someone recognizes the issue right away. I can send the whole trace if that is useful.) So it is finding the first mapping file and misinterpreting the location for the included one. I didn't see this addressed in the docs. Appreciate any guidance you can provide. Thank you, Dave This e-mail and any files transmitted with it are for the sole use of Blue Slate Solutions and the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful.

