org.glassfish.jersey.server.ContainerException: java.lang.NoSuchMethodError: org.eclipse.persistence.oxm.XMLUnmarshaller.setNamespaceResolver(Lorg/eclipse/persistence/oxm/NamespaceResolver;)V] with root cause
java.lang.NoSuchMethodError:org.eclipse.persisten
但这个问题更多地与spring-oxm中的反编组程序相关。我想看看是否可以使用spring-oxm解组程序仅对XML中的特定元素进行解组。jc.createUnmarshaller();但是,如果我尝试使用spring-oxmExpected elements are (none)
at org.springframework.oxm.jaxb.Jaxb2Marshaller.con
Object o = unmarshal(data);}org.springframework.oxm.UnmarshallingFailureExceptionwhich are disabled.; nested exception is java.lang.NullPointerException
at org.springframework.oxm.jaxb.Jaxb2Marshaller.unmarshal(Jaxb2Marshaller.
我使用下面的代码来解析soap响应,但是我正在接收UnmarshallingFailureException,我将@XmlSeeAlso更改为@XMLRootElement,但问题仍然存在。WSDL是。 (uri:"ElsyArres.API", local:"SearchFlightsResponse"). Expected elements are
<{ElsyArres.API}Inbo