XStream Exception



Writing an object to an XML file using XStream and getting the following error while reading the File.


Point to be noted that CompareBean is an Object in the Main Object that I am writing to the XML file



com.thoughtworks.xstream.converters.ConversionException: Cannot construct beans.CompareBean as it does not have a no-args constructor : Cannot construct beans.CompareBean as it does not have a no-args constructor

No comments:

Post a Comment