Aug 7th, 2006, 12:01 AM
Marshalling problem: UnsupportedOperationException: setValidating()
I came across a "java.lang.UnsupportedOperationException" when trying to use the jaxb marshaling, citing "com.sun.xml.bind.v2.runtime.unmarshaller.Unmarsha llerImpl.setValidating(Unma
rshallerImpl.java:453)" as the offending code. I came across a post (http://forum.springframework.org/showthread.php?t=24083) earlier mentioning that this issue was dealt with. I am currently using the latest nightly snapshot, though i've test against a couple other versions.
Is anyone else seeing this error? Or is it just me?
Aug 7th, 2006, 02:18 AM
setValidating is no longer supported under JAXB2. You will need to use the Jaxb2Marshaller, and set validating schema(s) using the schema or schema properties.