日期:2014-05-17  浏览次数:20804 次

org/codehaus/xfire/aegis/type/basic/ObjectType, method: writeSchema signature
求助各位江湖大虾,

Exception in thread "main" java.lang.VerifyError: (class: org/codehaus/xfire/aegis/type/basic/ObjectType, method: writeSchema signature: (Lorg/jdom/Element;)V) Incompatible argument to function
at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.createDefaultMappings(DefaultTypeMappingRegistry.java:408)
at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.createDefaultMappings(DefaultTypeMappingRegistry.java:311)
at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:131)
at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:137)
at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:118)
at org.codehaus.xfire.jaxb2.JaxbTypeRegistry.<init>(JaxbTypeRegistry.java:15)
at xdb.ServiceClient.create0(ServiceClient.java:58)
at xdb.ServiceClient.<init>(ServiceClient.java:27)
at xdb.ServiceClient.main(ServiceClient.java:92)


今天做一个webserviceClient,结果报这个错误,看了很多帖子,大多数说和jdom.jar有关,可是我的项目中除了xfire包

引用之外,再没别的地方用了,jdk从1.6换到1.5也不行!

谁能99我啊!!!

------解决方案--------------------
参考:http://topic.csdn.net/u/20070628/21/cadc4033-b324-4e72-8bef-33866a31e702.html
------解决方案--------------------
Exception in thread "main" java.lang.VerifyError: (class: org/codehaus/xfire/aegis/type/basic/ObjectType, method: writeSchema signature: (Lorg/jdom/Element;)V) www.cctv40.cnIncompatible argument to function
at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.createDefaultMappings(DefaultTypeMappingRegistry.java:408)
at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.createDefaultMappings(DefaultTypeMappingRegistry.java:311)
at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:131)
at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:137)
at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:118)
at org.codehaus.xfire.jaxb2.JaxbTypeRegistry.<init>(JaxbTypeRegistry.java:15)
at xdb.ServiceClient.create0(ServiceClient.java:58)
at xdb.ServiceClient.<init>(ServiceClient.java:27)
at xdb.ServiceClient.main(ServiceClient.java:92)

从新加载包试试