title: XStream Exception
body: <p>Writing an object to an XML file using XStream and getting the following error while reading the File.</p>
  
  <p>Point to be noted that CompareBean is an Object in the Main Object that I am writing to the XML file</p>
  
  <pre><code>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
  </code></pre>