Hi,
   I have a Gregorian Calendar field in one of my classes. I am able to marshal it succesfully and the generated xml documents contains all the information related to the TimeZone.
  However unmarshalling it gives a SaxException with the following error
 
org.xml.sax.SAXException: unable to instantiate a new type of: java.util.SimpleTimeZone{file: ; line: 2; column: 6212}
 
   I beleive that castor is unable to instatntiate SimpleTimeZone object required for GregorianCalendar, since it requires a Default constructor with no arguments.
 
   Could any one suggest what could be done in such cases.
 
Thanks,
Uddhav

Reply via email to