Implementation of review comments for classpath and jar

resourceFactories
Already implemented this review comment