Using the maven-jetty-plugin for jetty 6.1.24, and cxf version 2.2.9,
I get the following classpath fight. I suppose that I either need an
exclusion from the plugin or a 'provided' in my own list of
dependencies. Anyone know what it is that I need to do that to?

java.lang.LinkageError: loader constraint violation: when resolving
overridden method
"org.apache.cxf.jaxb.attachment.JAXBAttachmentUnmarshaller.getAttachmentAsDataHandler(Ljava/lang/String;)Ljavax/activation/DataHandler;"
the class loader (instance of
org/mortbay/jetty/webapp/WebAppClassLoader) of the current class,
org/apache/cxf/jaxb/attachment/JAXBAttachmentUnmarshaller, and its
superclass loader (instance of <bootloader>), have different Class
objects for the type javax/activation/DataHandler used in the
signature

Reply via email to