cxf2.6, package conflict, Error creating bean with name '***': Invocation of init

There is no problem in tomcat6 deployment, but when it is placed in was8.5.0.1, the error is reported as follows:

Error creating bean with name '***': Invocation of init method failed; nested exception is Java.lang.ClassCastException:javax.xml.namespace.QName incompatible with javax.xml.namespace.QName的错误

 

Solution: delete the lib in

xbean.2.2.0.jar

xbean-spring-2.8.jar

xfire-aegis-1.2.6.jar

xfire-all-1.2.6.jar

xfire-core-1.2.6.jar

xfire-jaxws-1.2.6.jar

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326294110&siteId=291194637