Reputation: 779
We recently upgraded to jdk1.6. Result of which we had to get rid of all jaxb related jar from the project as jdk 1.6 has support for jaxb. Now when we are trying populate the jaxb object getting following error
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element
Although same xsd and xml combinations did worked before before with the jaxb jar. Do i need to update my xsd/xml?
Upvotes: 2
Views: 190
Reputation: 14649
You need to compile xsd again. Remove xercesImpl.jar jaxb-api.jar and other from your classpath.
Upvotes: 1