How to deploy AAR in Tomcat

南笙酒味 提交于 2019-12-22 18:03:54

问题


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.



来源:https://stackoverflow.com/questions/5531370/how-to-deploy-aar-in-tomcat

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