I am using Maven to build a separate business domain jar from the business services jar to abide by my client's layered architecture. I would like to be able to reference a JiBX mapping for a domain class (that is managed in the domain project) from within a JiBX mapping for a business service class (that is managed in the business services project). Is there a way to do this with JiBX? In other words, from within a mapping file in one Maven project, I would like to reference a type that is managed in a separate Maven project (i.e., jar at runtime). Below is the error I am currently getting. If I copy all of my business domain classes into my business services project, everything works fine. I only get this error when I separate the projects and the separate jars are built.
20:03:07,548 ERROR [STDERR] org.springframework.oxm.jibx.JibxMarshallingFailureException: JiBX marshalling exception: No marshal mapping defined for class com.company.businessobject.Item; nested exception is org.jibx.runtime.JiBXException: No marshal mapping defined for class com.company.businessobject.Item If anyone has done this, I would appreciate any advice you could share. Thanks, Keith ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users