Avoding throw of exception since the resource url can be found on other
classloader.