Results 1 to 1 of 1
- 10-26-2011, 11:34 PM #1
Member
- Join Date
- Oct 2011
- Posts
- 1
- Rep Power
- 0
JAXB issue with XMLGregorianCalendar
My xsd has a <xsd:attribute name="TS" type="xsd:dateTime" use="required" /> attribute. When I create my JaxB Java class it has a field called TS of type javax.xml.datatype.XMLGregorianCalendar; However when unmarsalling a xml file, I get the following error:
java.lang.NoClassDefFoundError: org/apache/xerces/jaxp/datatype/XMLGregorianCalendarImpl$Parser
Why would JaxB try to unmarshal to a different Object type?
Similar Threads
-
XMLGregorianCalendar problems
By dustedrob in forum XMLReplies: 1Last Post: 12-20-2010, 11:28 PM -
JAXB Unmarshalling
By milan.nosal in forum XMLReplies: 0Last Post: 09-01-2010, 02:15 PM -
JAXB Binding
By Fusebox in forum XMLReplies: 0Last Post: 06-11-2010, 10:06 PM -
Web Service from WSDL & XMLGregorianCalendar Issues
By CoAstroGeek in forum NetBeansReplies: 2Last Post: 01-23-2010, 04:23 PM -
Jaxb
By Paul Richards in forum XMLReplies: 1Last Post: 08-03-2009, 09:56 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks