1. Right-click the project and select New--->Other--->Axis2 Service Archiver
2. Fill in Class File Location and check Include .class files only
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
Fill in the save path and file name
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