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/