Axis2 Web服务错误:未找到services.xml [英] Axis2 web service error: services.xml not found

查看:224
本文介绍了Axis2 Web服务错误:未找到services.xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试将简单的axis2 Web服务部署到wso2应用程序服务器上,但我不断收到错误消息:

I have been trying to deploy a simple axis2 web service onto a wso2 application server but I keep on getting the error:

错误:org.apache.axis2.deployment.DeploymentException:找不到该服务的services.xml文件:/WSO2/wso2as-4.1.0/repository/deployment/server/axis2services/SomeService.aar

Error: org.apache.axis2.deployment.DeploymentException: The services.xml file cannot be found for the service: /WSO2/wso2as-4.1.0/repository/deployment/server/axis2services/SomeService.aar

但是,快速浏览该.aar文件显示,根据需要,services.xml文件确实包含在META-INF文件夹中.

However, a quick peek at that .aar file revealed that the services.xml file was indeed contained in the META-INF folder as needed.

什么会导致这种错误,我该如何解决?

What would cause such an error, and how do I proceed with fixing it?

推荐答案

此处最有可能的问题-aar文件未正确打包-如果您提取.aar文件,则META-INF目录应该位于顶层. .如果您可以共享.aar文件,那么我可以看看..

Most possible issue here - the aar file is not packed correctly - if you extract out the .aar file then META-INF directory should be at the top level.. If you can share the .aar file then I can have look..

这篇关于Axis2 Web服务错误:未找到services.xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆