简体   繁体   中英

How to resolve unmarshalling error after JBOSS EAP server migration from 6.4 to 7.4.3?

I am trying to migrate my application server (JBOSS EAP) from 6.4 to 7.4.3. But, after migration I am getting the below error while hitting my webservices.

Unwinding now: org.apache.cxf.interceptor.Fault: Unmarshalling error: unexpected element (uri: ....) Caused by: com.sun.istack.SAXParseException2; line number: 0; columnNumber: 0; unexpected element (uri:....)

The same request was working absolutely fine in JBOSS EAP 6.4. But it is not working now after migration. I want to solve this without touching the codebase (means from server side - server config or server VM arguments etc.).

Can you try the following system property?

-Dcom.sun.xml.bind.backupWithParentNamespace=true

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM