class path resource [xx] cannot be resolved to absolute file path because it does not reside
String fileName = "lenovo_data";方式一:ClassPathResource resource = new ClassPathResource("fileName");File file = resource.getFile();方式二:String path = ResourceUtils.getURL("classpath:").toString(...