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 needsnversionException: Element url of type .URL is not defined as field in type org.sample.xstream.SomeBean The rht way.