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