-
Aug 7th, 2006, 12:01 AM
#1
Marshalling problem: UnsupportedOperationException: setValidating()
Hi,
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
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules