Cxf weblogic 报错: when resolving method "javax.xml.bind.JAXBElementjava
================================web
©Copyright 蕃薯耀 2018年5月17日spa
https://www.cnblogs.com/fanshuyao/rest
1、问题描述:xml
weblogic 部署Cxf 启动时报错,以下:blog
loader constraint violation: when resolving method "javax.xml.bind.JAXBElement. <init>(Ljavax/xml/namespace/QName;Ljava/lang/Class;
Ljava/lang/Class;Ljava/lang/Object;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, oma/xml/rest/callnotification/_1/ObjectFactory, and the class loader (instance of <bootloader>) for resolved class, javax/xml/bind/JAXBElement, have different Class objects for the type javax/xml/namespace/QName used in the signature。
2、解决方案ssl
报错缘由是Jar 包冲突 。rpc
在WEB-INF\lib目录或者Maven中,删除 jaxrpc.jar 文件。部署
================================it
©Copyright 蕃薯耀 2018年5月17日
https://www.cnblogs.com/fanshuyao/