随笔 - 0, 文章 - 264, 评论 - 170, 引用 - 0
数据加载中……

org.apache.axiom.om.OMException: No meta factory found for feature 'default';错误解决办法

Exception in thread "main" org.apache.axiom.om.OMException: No meta factory found for feature 'default'; this usually means that axiom-impl.jar is not in the classpath
        at org.apache.axiom.om.OMAbstractFactory.getMetaFactory(OMAbstractFactory.java:170)
        at org.apache.axiom.om.OMAbstractFactory.getMetaFactory(OMAbstractFactory.java:135)
        at org.apache.axiom.om.OMAbstractFactory.getOMFactory(OMAbstractFactory.java:184)
        at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:72)
        at org.apache.axis2.description.AxisService.<init>(AxisService.java:323)
        at org.apache.axis2.description.AxisService.<init>(AxisService.java:394)
        at com.ailk.boss.external.ws.External2Oss_PortTypeServiceStub.populateAxisService(External2Oss_PortTypeServiceStub.java:41)
        at com.ailk.boss.external.ws.External2Oss_PortTypeServiceStub.<init>(External2Oss_PortTypeServiceStub.java:88)
        at com.ailk.boss.external.ws.External2Oss_PortTypeServiceStub.<init>(External2Oss_PortTypeServiceStub.java:77)
        at com.ailk.boss.external.ws.External2Oss_PortTypeServiceStub.<init>(External2Oss_PortTypeServiceStub.java:123)
        at WooEquipmentSend.send2Esb(WooEquipmentSend.java:20)
        at WooPPPoEServiceTest.testGetPPPoEAndSettings(WooPPPoEServiceTest.java:32)
        at WooPPPoEServiceTest.main(WooPPPoEServiceTest.java:18)

解决办法:
1、将系统依赖的以下三个jar包版本从1.2.13替换为1.2.12即可:
axiom-api-1.2.12.jar
axiom-dom-1.2.12.jar
axiom-impl-1.2.12.jar

posted on 2018-04-17 20:14 小一败涂地 阅读(3377) 评论(0)  编辑  收藏 所属分类: jersery、struts等web框架相关java语言相关


只有注册用户登录后才能发表评论。


网站导航: