2
votes

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

1 Answers

2
votes

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