ClassPathResource factory and JarResource Factory

Use logging instead of printStackTrace()