woensdag 31 augustus 2011

Unable to create JAXBContext due to the security restriction

I got this error trying to deploy an application on WebSphere.

The error doesn't really speak for itself and you need to go digging in the stacktrace to find what went wrong. Turns out I simply forgot to change the porpOrder so it matches the actual properties of the class.

@XmlType(name = "SearchRequestType", namespace = "http://foo.bar.com/services", propOrder = {
"property1", "property2", "property3", "..."
})

Geen opmerkingen: