Closed GoogleCodeExporter closed 9 years ago
Resting internally uses XStream v1.3 to handle XML parsing which is throwing
this exception. Please go through the documentation available at
http://xstream.codehaus.org/. You may need to write a custom converter and
register it with XMLAlias using addConverter() method. The link below may be
useful:
http://comments.gmane.org/gmane.comp.java.xstream.user/7401
Original comment by sujata...@gmail.com
on 9 Jun 2011 at 7:40
Original comment by sujata...@gmail.com
on 9 Jun 2011 at 7:44
A quick workaround will be to read the xml data as Strings, then convert into
Long/other objects. In that case, the xstream converter will not be reqd.
public class Standard {
String id;
String lft;
String rgt;
String parentId;
String title;
....
This should not be the long term solution though, in which case there should be
a reflection converter in place.
Original comment by sujata...@gmail.com
on 9 Jun 2011 at 10:19
Original issue reported on code.google.com by
rmahnove...@gmail.com
on 6 Jun 2011 at 11:35