JAVA SOAP Service Dependencies in TOMCAT

48 Views Asked by At

I have a JAX-WS service that also has some dependencies and I need to bundle them together as part of the WAR file so that when deployed to the server the dependencies are not installed in the normal $TOMCAT/lib directory which may affect other services running on the production server. How do I go about this?

1

There are 1 best solutions below

2
On

The war file is a zip archive that contains files and directories. It should contain a WEB-INF/lib directory where you store the dependencies (jar files in most of cases)