Definitely, and this can give you different results, sometimes depending on the application server, and sometimes depending on the packaging.
If your application uses the class X, which is in both banks, one of them X.class will be loaded by the class loader and say that it needs the class Y, which is in both banks, one of them will be (usually the first), but there is no guarantees that they will be from one bank.
So, if there are two versions of the same jar, you need to check why this is happening and try to remove one of them. (If you use maven, there are different ways to achieve this)
source share