Implementation of review comments for classpath and jar

resourceFactories
The reason for this logic is that getURI().resolve(relative) doesnt work and throws an exception and thats because the jar uris of the type jar:/file:/.... doesnt work with resolve(). So I had to remove the jar: part and extract the uri starting with file:/ and perform the resolve operation. And then back convert to add classpath:/ in front of the uri.