even if I'm using the classloading descriptor above to give precedence to my web-inf/lib.
Servlet spec already forces precedence of .war resources.
What you're seeing is that integration code gets mingled with app's resources,
which is, as you can read, a hard problem to avoid.