![java - Unable to access the resources file in jar after packaging : FileSystemNotFoundException - Stack Overflow java - Unable to access the resources file in jar after packaging : FileSystemNotFoundException - Stack Overflow](https://i.stack.imgur.com/SX52C.png)
java - Unable to access the resources file in jar after packaging : FileSystemNotFoundException - Stack Overflow
Caused by: java.io.FileNotFoundException: class path resource [schema.graphqls] cannot be resolved to absolute file path because it does not reside in the file system: jar:file:/path/to/file.jar!/BOOT-INF/classes!/schema.graphqls · Issue #10983 ...
![Spring Boot 打包JAR 後獲取不了classpath下文件| java.io.filenotfoundexception: class path resource - Albert.kw.Lee - Medium Spring Boot 打包JAR 後獲取不了classpath下文件| java.io.filenotfoundexception: class path resource - Albert.kw.Lee - Medium](https://miro.medium.com/max/1400/1*tKFcHCZ3C-ZmK5uHsrojhw.png)
Spring Boot 打包JAR 後獲取不了classpath下文件| java.io.filenotfoundexception: class path resource - Albert.kw.Lee - Medium
![Resource from filesystem not found when application is spring-boot packaged · Issue #20111 · spring-projects/spring-boot · GitHub Resource from filesystem not found when application is spring-boot packaged · Issue #20111 · spring-projects/spring-boot · GitHub](https://user-images.githubusercontent.com/24416449/83531851-c8208400-a4ed-11ea-83fc-c5b9ca3e38c2.png)
Resource from filesystem not found when application is spring-boot packaged · Issue #20111 · spring-projects/spring-boot · GitHub
Support java.nio.file Paths and FileSystems with fat jars · Issue #7161 · spring-projects/spring-boot · GitHub
![ClassPathResource.getFile()在jar包中运行报错cannot be resolved to absolute file path_Amx Just Run的博客-CSDN博客 ClassPathResource.getFile()在jar包中运行报错cannot be resolved to absolute file path_Amx Just Run的博客-CSDN博客](https://img-blog.csdnimg.cn/20201210112426446.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zOTA4MDIxNg==,size_16,color_FFFFFF,t_70)
ClassPathResource.getFile()在jar包中运行报错cannot be resolved to absolute file path_Amx Just Run的博客-CSDN博客
![使用spring的ResourceUtils.getFile读取jar包内文件失败_"resourceutils.getfile (\"classpath:\"protocol为jar"_ljm_csdn的博客-CSDN博客 使用spring的ResourceUtils.getFile读取jar包内文件失败_"resourceutils.getfile (\"classpath:\"protocol为jar"_ljm_csdn的博客-CSDN博客](https://upload-images.jianshu.io/upload_images/14533020-49bb786aec6e71a4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
使用spring的ResourceUtils.getFile读取jar包内文件失败_"resourceutils.getfile (\"classpath:\"protocol为jar"_ljm_csdn的博客-CSDN博客
FileNotFoundException: Jar URL cannot be resolved to absolute file path because it does not reside in the file system: war:file: · Issue #8986 · spring-projects/spring-boot · GitHub
![spring - java.io.FileNotFoundException: class path resource even though file exists in src/main/resources - Stack Overflow spring - java.io.FileNotFoundException: class path resource even though file exists in src/main/resources - Stack Overflow](https://i.stack.imgur.com/XUydy.png)