ClassPathResource classPathResource = new ClassPathResource("static/fonts/");
classPathResource .getURI().getPath(); //获取文件路径
ClassPathResource classPathResource = new ClassPathResource("financialTemplate/financial.xlsx");
classPathResource.getInputStream(); //获取文件流
spring boot下 获取resources文件夹的资源文件