UrlResource.getFile() has thrown a FileNotFoundException

java.io.FileNotFoundException
at org.springframework.util.ResourceUtils.getFile
at org.springframework.core.io.AbstractFileResolvingResource.getFile
at org.springframework.core.io.UrlResource.getFile

Typical Exception Messages

  1. URL [rsrc:tests/] cannot be resolved to absolute file path because it does not reside in the file system: rsrc:tests/
  2. URL [ftp://user:password@host//'MAINVIEW.DATASET'] cannot be resolved to absolute file path because it does not reside in the file system: ftp://user:password@host//'MAINVIEW.DATASET'
  3. URL [bundle://304.0:1/com/unveiled/politics/] cannot be resolved to absolute file path because it does not reside in the file system: bundle://304.0:1/com/unveiled/politics/
  4. URL [bundleresource://95.fwk1553324600/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://95.fwk1553324600/
  5. URL [bundleresource://96.fwk327208746/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://96.fwk327208746/
  6. URL [bundle://316.0:1/com/unveiled/politics/] cannot be resolved to absolute file path because it does not reside in the file system: bundle://316.0:1/com/unveiled/politics/
  7. URL [bundle://248.0:1/com/bookstore/app/] cannot be resolved to absolute file path because it does not reside in the file system: bundle://248.0:1/com/bookstore/app/
  8. URL [bundle://105.37:1/ziriziri/dataspace/kernel/data/domain/] cannot be resolved to absolute file path because it does not reside in the file system: bundle://105.37:1/ziriziri/dataspace/kernel/data/domain/
  9. URL [bundleresource://105.fwk1435217173/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://105.fwk1435217173/
  10. URL [bundleresource://95.fwk1553324600/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://95.fwk1553324600/

Origin

Similar

Specific cases

We have seen this error pattern in the following webpages (24)

  1. Jim Cvia Stack Overflow2 days ago
    URL [bundleresource://96.fwk327208746/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://96.fwk327208746/
  2. de cavia Stack Overflow2 days ago
    URL [bundleresource://96.fwk1553324600/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://96.fwk1553324600/
  3. Ron Wheelervia maven-users3 days ago
    URL [bundleresource://95.fwk1553324600/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://95.fwk1553324600/
  4. Ron Wheelervia maven-users3 days ago
    URL [bundleresource://95.fwk1553324600/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://95.fwk1553324600/
  5. overattributionvia geronimo-user3 days ago
    URL [bundle://304.0:1/com/unveiled/politics/] cannot be resolved to absolute file path because it does not reside in the file system: bundle://304.0:1/com/unveiled/politics/
  6. URL [rsrc:one/demo/] cannot be resolved to absolute file path because it does not reside in the file system: rsrc:one/demo/
  7. URL [war:file:/C:/Users/user123/apache-tomcat-8.0.41/webapps/project.war*/WEB-INF/classes/package-path/] cannot be resolved to absolute file path because it does not reside in the file system: war:file:/C:/Users/user123/apache-tomcat-8.0.41/webapps/project.war*/WEB-INF/classes/package-path/
  8. jvdmrvia GitHub1 year ago
    URL [war:file:/Users/jvdmr/spring-boot-war-example/target/] cannot be resolved to absolute file path because it does not reside in the file system: war:file:/Users/jvdmr/spring-boot-war-example/target/
  9. URL [bundleresource://32/com/company/application/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://32/com/company/application/
  10. Unknown authorvia ibm.com1 year ago
    URL [bundleresource://105.fwk1435217173/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://105.fwk1435217173/