Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CastorMarshaller multiple mappingLocations and custom FieldHandlers

 
Mat Anthony
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I'm trying to use multiple mapping files. If I use them individualy they work, but together the following deployment error is seen

Caused by: org.springframework.oxm.castor.CastorMappingException: Could not load Castor mapping; nested exception is org.exolab.castor.mapping.MappingException: Could not find the class musicDateFromHandler

The problem seems to be with using field-handler with multiple mapping files.

file:service-context.xml


file:music-service-mapping.xml


file:sport-service-mapping.xml


Mat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic