Solution to the package conflict between axis2.1.6 and websphere7

1. Copy all the files in the module folder in axis2.1.6 to lib and modify the extension to .jar
2. Delete the module folder (optional, you can not delete it)
3. Deploy to was

4. Set the class loading scheme of the application corresponding to was to the parent class. Finally, you need to set the parent class from the management module -- "Project ---" Finally, the modification in other places is invalid (may be a bug of was)



The official description of axis2 requires setting the attributes in axis2.xml, especially the class loading order, but please do not set it, if it is set to true, an exception will occur


The following is the official link (for reference only, do not follow suit) http://axis.apache.org/axis2/java/core/docs/app_server.html#WebSphere

Guess you like

Origin blog.csdn.net/DeleteElf/article/details/26668957