将webapp部署到WebLogic12c时,会遇到JAXBEException

将webapp部署到WebLogic12c时,会遇到JAXBEException,weblogic,Weblogic,我尝试在WebLogic 12c(版本:12.1.2.0.0)上部署一个应用程序,当启动时,它会遇到如下异常: Failed to create the JAXB binder; nested exception is javax.xml.bind.JAXBException: provider org.eclipse.persistence.jaxb.JAXBContextFactory could not be instantiated: javax.xml.bind.JAXBExcepti

我尝试在WebLogic 12c(版本:12.1.2.0.0)上部署一个应用程序,当启动时,它会遇到如下异常:

Failed to create the JAXB binder; nested exception is javax.xml.bind.JAXBException: provider org.eclipse.persistence.jaxb.JAXBContextFactory could not be instantiated: javax.xml.bind.JAXBException:
Exception Description: The java interface org.apache.camel.Endpoing can not be mapped by JAXB as it has multiple mappable parent interfaces. Multiple inheritence is not supported
 - with linked exception:
 [Exception [EclipseLink-50089] (Eclipse Persistence Service - 2.4.2.v2013-0514-5956486): org.eclipse.persistence.exceptions.JAXBException
Exception Description: The java interface org.apache.camel.Endpoing can not be mapped by JAXB as it has multiple mappable parent interfaces. Multiple inheritence is not supported
但部署到WebLogic11g(版本:10.3.3.0)时不会发生这种情况。
这是由jar冲突引起的吗?

我在以下线程中找到了解决方案:

将jaxb.properties放入camel-spring-x.x.x.jar并重新部署后,问题就解决了