I have to invoke JAX-RS webservice from the EAR application. The application already has a bunch of jars that it uses internally in the lib folder. Now, I need to add about 30 or 40 jars to invoke JAX-RS webservice into the same lib folder. The problem is that some of the jars are already exists in there with different versions. For example, apache collections-commons, common-beans etc. What can I do to solve this?