Consistent use of ClassUtils.forName instead of class.getClassLoader().loadClass

Issue: SPR-11780