class path resource [XX] cannot be resolved to absolute file path because it does not reside

代码中使用了html File file = ResourceUtils.getFile("classpath:filename"); BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(file))); 加载邮件模版文件,开发本地测试木有问题,服务器却找不到目标文件,查看日志报以
相关文章
相关标签/搜索