xfire.typeMappingRegistry 异常解决

来源:互联网 发布:淘宝服装描述怎么写 编辑:程序博客网 时间:2024/06/10 08:13

xfire1.2.6开发的webservice在WebSphere下运行时报此异常
[09-10-21 16:55:17:114 CST] 0000001e ContextLoader E org.springframework.web.context.ContextLoader initWebApplicationContext Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘xfire.typeMappingRegistry’ defined in class path resource [org/codehaus/xfire/spring/xfire.xml]: Initialization of bean failed; nested exception is java.lang.VerifyError: (class: org/codehaus/xfire/aegis/type/basic/ObjectType, method: writeSchema signature: (Lorg/jdom/Element;)V) Incompatible argument to method
java.lang.VerifyError: (class: org/codehaus/xfire/aegis/type/basic/ObjectType, method: writeSchema signature: (Lorg/jdom/Element;)V) Incompatible argument to method

解决方案:
因为was自带的jdom.jar太out了,找个1.0版的jdom替换之

原创粉丝点击