I keep reading in all sorts of Java libraries, which are using the Jersey HTTP client package, that I should be careful because they use Jersey 2.x and if I have Jersey 1.x in my classpath already, it may cause some conflicts.
But, Jersey project changed group id and package names when it was incorporated into Glassfish project, starting with version 2.x.
Since package names are different, what conflicts could there be? If I have Jersey 1.x in my deployable, those classes will be used, because of Jersey 2.x, provided by the Glassfish Runtime, are entirely different classes, with different names.
Likewise, if I have Jersey 1.x in my deployable, and some dependency comes and adds Jersey 2.x, the only problem that I may have is the following: without a deployment descriptor, Glassfish will use its version of the library, not the provided one. But in any case, no problem should occur because I have both Jersey 1.x and 2.x in my classpath, right?
Please advise, am I missing something? What's all the fuss about?