ClassPathResource factory and JarResource Factory

Need else case to throw an exception instead of returning an uninitialized object.