chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucas, Mike" <>
Subject upgrade to opencmis 0.12.0 causes JAXB errors
Date Thu, 02 Oct 2014 17:47:28 GMT
I have 2 opencmis dependencies in my java projects' maven poms, chemistry-opencmis-client-bindings
and chemistry-opencmis-client-impl. When I change these from version 0.11.0 to 0.12.0, I get
a LinkageError with the below stack trace.

Changing back to 0.11.0 immediately makes the problem go away, so I'm pretty sure this is
the cause.

Does anyone know if there are some JAXB related dependences that have changed between 0.11.0
and 0.12.0, or anything else you can think of that might have caused this issue, before I
go digging further?

Note I am testing with WebSphere Liberty Profile 8.5.

Stack trace:
java.lang.LinkageError: loader constraint violation: when resolving overridden method "com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Ljavax/xml/stream/XMLEventReader;)Ljava/lang/Object;"
the class loader (instance of com/ibm/ws/classloading/internal/ParentLastClassLoader) of the
current class, com/sun/xml/bind/v2/runtime/unmarshaller/UnmarshallerImpl, and its superclass
loader (instance of <bootloader>), have different Class objects for the type com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Ljavax/xml/stream/XMLEventReader;)Ljava/lang/Object;
used in the signature
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.createUnmarshaller(
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.createUnmarshaller(
at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(
at org.apache.cxf.transport.servlet.ServletController.invoke(
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(
at javax.servlet.http.HttpServlet.service(
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(
at [internal classes]
at [internal classes]

michael lucas  |  Senior Software Developer  |  Great-West Life 

View raw message