When deploying our application in IBM WebSphere application server, sometimes there are some libraries which we are using in our application, get conflicted with the one being used by WebSphere.
Follow this instruction to configure WebSphere to load our application libraries first before it loads the WebSphere libraries.
1. Install the application in WebSphere
2. Once the application installed, go to this path:
Enterprise Applications > [ear application name] > Manage Modules > [war application name]
Class loader order to
Classes loaded with parent class loader first
4. Start the application.
Our application will be started by loading application libraries first, before then it loads WebSphere libraries.