@anidotnet There is no guarantee that the system classloader can find resources for a given class, if it's loaded by a dynamic or custom class loader. The only safe thing to do is to use the classloader that loaded the class. Are you able to setup a test case that demonstrates the problem?