How to deploy AAR in Tomcat

2019-05-20 19:37发布

问题:

I have file in AAR format generated using Ant but I would like to deploy it in Tomcat server. Tomcat support only WAR files. I tried to generate war file using command jar cvf smth.war but it doesnt work without manifest. Anybody know how to convert AAR to WAR?

回答1:

You need to put .aar files into the WEB-INF/services folder of an Axis2.war file, then you can deploy the Axis2.war file to tomcat.

The layout of an axis2.war file is given here.



标签: tomcat axis2 war