Package the Web Service project written in Axis2 into an aar package

1. Right-click the project and select New--->Other--->Axis2 Service Archiver

Enter image description

2. Fill in Class File Location and check Include .class files only

Enter image description

Regarding the problem of the Class File Location path, when I packaged aar according to an online blog, the path was always wrong, and it took a long time to find a correct one.

3. Keep clicking Next

Enter image description

Enter image description

Enter image description

Fill in the save path and file name

Enter image description

4. Copy the packaged aar package to the tomcat directory D:\apache\tomcat8\webapps\axis2\WEB-INF\services

Note: The axis2 plugin installation can be searched by itself

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325281284&siteId=291194637