Hi there, if it is not yet resolved then just try getting the class loader from the current thread. I faced a similar problem with getResourceAsStream while migrating from 3.2.6 to 5.1.0. It worked for me though, not so sure in your case, sorry if i waste your time. Use somthing like this "Thread.currentThread().getContextClassLoader().getResourceAsStream("")."
Have Fun with Java
little,little.. little by little makes a lot..