Axis2 web service error: services.xml not found

*爱你&永不变心* 提交于 2020-01-04 09:12:19

问题


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

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

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?


回答1:


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..



来源:https://stackoverflow.com/questions/8257854/axis2-web-service-error-services-xml-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!