cxf2.6,包冲突,Error creating bean with name '***': Invocation of init

在tomcat6部署没有问题,但是放到was8.5.0.1启动报错如下:

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的错误

解决办法:删除lib 中的

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

猜你喜欢

转载自hui8080.iteye.com/blog/2380991