Where to deploy jar dependency on my web service?
My web service is bank dependent (which contains, among other things, a custom exception class).
When I simply deploy my web service without this jar, axis2 complains that the exception class is unknown.
So, I assume that I should also deploy my can ... But I do not want to invest it in this: tomcat\webapps\axis2\WEB-INF\lib
, since it is already filled with many cans with axis 2 and third side. ..
I would prefer something like tomcat\webapps\axis2\WEB-INF\usr\lib
Where would you put it?
Consider deploying your web service and its dependencies as a single WAR web application. Then you can put your dependency in the WEB-INF / lib of your web client.
If you are deploying Axis2 AAR, you can put the jar in the lib
directory inside the AAR.