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.