xstreamIndeed the problem is not as clearly phrased as it should. My guess is that you are using a non-standard collection or using a field of an interface type for which XStream needsyou can do that by overriding the default marshaller. import org.springframework.oxm.xstream.XStreamMarshaller; import