本文介绍了org.apache.axis2.AxisFault:系统正在尝试使用不可用的模块:寻址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要执行一个jar文件,但是在执行时,出现此错误.一些帮助?我花了很多时间在谷歌上搜索,但找不到解决方法.

Hi I need to execute a jar file, but when I am executing, I get this error. Some help? I was googling lot of hours, but I can't find a solution.

org.apache.axis2.AxisFault: The system is attempting to engage a module that is not available: addressing
at org.apache.axis2.engine.AxisConfiguration.engageModule(AxisConfiguration.java:584)
at org.apache.axis2.engine.AxisConfiguration.engageGlobalModules(AxisConfiguration.java:705)
at org.apache.axis2.deployment.DeploymentEngine.engageModules(DeploymentEngine.java:831)
at org.apache.axis2.deployment.FileSystemConfigurator.engageGlobalModules(FileSystemConfigurator.java:142)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:94)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
at es.spee.meyss.proveedorcentro.application.ws.impl.ProveedorCentroTFWSStub.getContextConfiguration(ProveedorCentroTFWSStub.java:189)
at es.spee.meyss.proveedorcentro.application.ws.impl.ProveedorCentroTFWSStub.<init>(ProveedorCentroTFWSStub.java:185)
at es.spee.meyss.proveedorcentro.application.ws.impl.ProveedorCentroTFWSStub.<init>(ProveedorCentroTFWSStub.java:198)
at es.spee.meyss.proveedorcentro.cliente.business.services.impl.ProveedorCentroSvcImpl.getProveedorCentroWS(ProveedorCentroSvcImpl.java:149)
at es.spee.meyss.proveedorcentro.cliente.business.services.impl.ProveedorCentroSvcImpl.validarObtenerDatosCentro(ProveedorCentroSvcImpl.java:193)
at es.spee.meyss.proveedorcentro.cliente.business.services.impl.ProveedorCentroSvcImpl.validarObtenerDatosCentro(ProveedorCentroSvcImpl.java:170)
at es.spee.meyss.proveedorcentro.validador.ProveedorCentroTFValidador.validarObtenerDatosCentro(ProveedorCentroTFValidador.java:159)
at es.spee.meyss.proveedorcentro.validador.ProveedorCentroTFValidador.main(ProveedorCentroTFValidador.java:49)

推荐答案

找到WEB-INF/conf/axis2.xml并注释掉以下行:

Find the WEB-INF/conf/axis2.xml and comment out following line:

<module ref="addressing"/>

对我有用

这篇关于org.apache.axis2.AxisFault:系统正在尝试使用不可用的模块:寻址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-15 22:51