Jokūbas created KARAF-7276:
------------------------------
Summary: LinkageError when receiving SOAP message with attachments
Key: KARAF-7276
URL: https://issues.apache.org/jira/browse/KARAF-7276
Project: Karaf
Issue Type: Bug
Components: karaf
Affects Versions: 4.3.3
Environment: Java 11,
CXF 4.3.3
Reporter: Jokūbas
LinkageError when receiving SOAP message with attachments:
java.lang.LinkageError: loader constraint violation for class
org.apache.cxf.jaxb.attachment.JAXBAttachmentUnmarshaller: when selecting
overriding method 'javax.activation.DataHandler
org.apache.cxf.jaxb.attachment.JAXBAttachmentUnmarshaller.getAttachmentAsDataHandler(java.lang.String)'
the class loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader
@5d4d3872 of the selected method's type
org.apache.cxf.jaxb.attachment.JAXBAttachmentUnmarshaller, and the class loader
'app' for its super type javax.xml.bind.attachment.AttachmentUnmarshaller have
different Class objects for the type javax.activation.DataHandler used in the
signature (org.apache.cxf.jaxb.attachment.JAXBAttachmentUnmarshaller is in
unnamed module of loader
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @5d4d3872, parent
loader java.net.URLClassLoader @184f6be2;
javax.xml.bind.attachment.AttachmentUnmarshaller is in unnamed module of loader
'app')
at
org.apache.cxf.jaxb.JAXBDataBase.getAttachmentUnmarshaller(JAXBDataBase.java:88)
~[?:?]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)