PathMatchingResourcePatternResolver.doFindPathMatchingFileResources() has thrown a FileNotFoundException

java.io.FileNotFoundException
at org.springframework.util.ResourceUtils.getFile
(source)
at org.springframework.core.io.AbstractFileResolvingResource.getFile
(source)
at org.springframework.core.io.UrlResource.getFile
(source)
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingFileResources
(source)
3 frames hidden

Typical Exception Messages

  1. URL [bundleresource://96.fwk1553324600/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://96.fwk1553324600/
  2. URL [rsrc:tests/] cannot be resolved to absolute file path because it does not reside in the file system: rsrc:tests/
  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://95.fwk1553324600/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://95.fwk1553324600/
  6. 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/
  7. 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/
  8. URL [bundleresource://105.fwk1435217173/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://105.fwk1435217173/
  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. URL [rsrc:] cannot be resolved to absolute file path because it does not reside in the file system: rsrc:

Origin

UrlResource.getFile() has thrown a FileNotFoundException

java.io.FileNotFoundException
2 frames hidden
org.springframework.core.io.UrlResource.getFile
26Web pages

Specific cases

External results for this pattern (22)

  1. jvdmrvia GitHub1 month 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/
    Show stack trace
  2. 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/
    Show stack trace
  3. Unknown authorvia ibm.com1 month ago
    URL [bundleresource://105.fwk1435217173/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://105.fwk1435217173/
    Show stack trace
  4. Ashok.Nvia Stack Overflow1 month ago
    URL [jndi:/localhost/pqawdTestWebApp/WEB-INF/CustomerService/spring-integration/Jobs/] cannot be resolved to absolute file path because it does not reside in the file system: jndi:/localhost/pqawdTestWebApp/WEB-INF/CustomerService/spring-integration/Jobs/
    Show stack trace
  5. Ashok.Nvia Stack Overflow1 month ago
    URL [jndi:/localhost/cciupg/WEB-INF/CustomerService/] cannot be resolved to absolute file path because it does not reside in the file system: jndi:/localhost/cciupg/WEB-INF/CustomerService/
    Show stack trace
  6. Miguel Goncalvesvia Spring JIRA1 month ago
    URL [rsrc:tests/] cannot be resolved to absolute file path because it does not reside in the file system: rsrc:tests/
    Show stack trace
  7. Deme Carvvia maven-users1 month ago
    URL [bundleresource://95.fwk1553324600/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://95.fwk1553324600/
    Show stack trace
  8. Deme Carvvia maven-users1 month ago
    URL [bundleresource://95.fwk1553324600/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://95.fwk1553324600/
    Show stack trace
  9. de cavia Stack Overflow2 months ago
    URL [bundleresource://96.fwk1553324600/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://96.fwk1553324600/
    Show stack trace
  10. Ron Wheelervia maven-users2 months ago
    URL [bundleresource://95.fwk1553324600/] cannot be resolved to absolute file path because it does not reside in the file system: bundleresource://95.fwk1553324600/
    Show stack trace