Announcement Announcement Module
Collapse
No announcement yet.
Marshalling problem: UnsupportedOperationException: setValidating() Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #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.

    Comment

    Working...
    X