您好我需要执行一个jar文件,但是当我执行时,我收到此错误。一些帮助?我在谷歌搜索了很多时间,但我无法找到解决方案。
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)
答案 0 :(得分:1)
找到WEB-INF / conf / axis2.xml并注释掉以下行:
<module ref="addressing"/>
它对我有用