ClassPathResource.getFile() has thrown a FileNotFoundException

java.io.FileNotFoundException
at org.springframework.util.ResourceUtils.getFile
at org.springframework.core.io.ClassPathResource.getFile

Matching stack traces (8)

  1. class path resource [one/resource/path/resource] cannot be resolved to absolute file path because it does not reside in the file system: jar:file:/home/user/dev/project/build_output/splice_links/da39a3ee5e6b4b0d3255bfef95601890afd80709/resources/resource.jar!one/resource/path/resource
  2. Jrogervia Stack Overflow8 months ago
    org.springframework.beans.factory.BeanCreationException: ERR creating bean with name 'userLoginListener' defined in ServletContext resource [/WEB-INF/classes/###light-service.xml]: Cannot resolve reference to bean 'logService' while setting bean property 'logService'; nested exception is org.springframework.beans.factory.BeanCreationException: ERR creating bean with name 'logService' defined in ServletContext resource [/WEB-INF/classes/###light-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: ERR creating bean with name 'transactionManager' defined in ServletContext resource [/WEB-INF/classes/###light-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: ERR creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/###light-data-source.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [bus/valueobjects/] cannot be resolved to absolute file path because it does not reside in the file system: vfs:#/EAP-7.0.0/standalone/deployments/###.war/WEB-INF/classes/bus/valueobjects/
  3. Andreas Schildbachvia Spring JIRA1 year ago
    class path resource [com/my/data] cannot be re solved to absolute file path because it does not reside in the file system: jar:file:/C:/jboss-4.0.1 sp1/server/default/tmp/deploy/tmp13967my.ear-contents/my-server.jar!/com/my/data
  4. Unknown authorvia spring.io1 year ago
    class path resource [key.ser] cannot be resolved to absolute file path because it does not reside in the file system: jar:file :/home/toor/efax-jar-with-dependencies.jar!/key.ser
  5. aalbericiovia gilead2 years ago
    class path resource \[net/sf/gilead/sample/resources\] cannot be resolved to absolute file path because it does not reside in the file system: jar:file:/C:/jboss-4.2.3.GA/server/default/deploy/SampleGilead.war/WEB-INF/lib/SampleGi lead-api-1.0-SNAPSHOT.jar\!/net/sf/gilead/sample/resources
  6. Andreas Schildbachvia Spring JIRA2 years ago
    class path resource [com/my/data] cannot be re solved to absolute file path because it does not reside in the file system: jar:file:/C:/jboss-4.0.1 sp1/server/default/tmp/deploy/tmp13967my.ear-contents/my-server.jar!/com/my/data
  7. class path resource [META-INF/foo/file.txt] cannot be resolved to absolute file path because it does not reside in the file system: jar:file:/D:/m2repo/uic-3.2.6-0.jar!/META-INF/foo/file.txt
  8. class path resource [ems-init.properties] cannot be resolved to absolute file path because it does not reside in the file system: vfs:/home/tanmoy/JBoss/jboss-as-distribution-6.0.0.Final/server/default/deploy/EMS.war/WEB-INF/classes/ems-init.properties

See Also

Parent

72 web pages  - ResourceUtils.getFile() has thrown a FileNotFoundException
java.io.FileNotFoundException
    at org.springframework.util.ResourceUtils.getFile()

Siblings

Children

  • 2 web pages  - AbstractAutowireCapableBeanFactory.initializeBean() has thrown a FileNotFoundException
    java.io.FileNotFoundException
        at org.springframework.util.ResourceUtils.getFile()
        at org.springframework.core.io.ClassPathResource.getFile()
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory()
        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet()
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods()
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean()

Typical exception messages

  1. 2 crashes - class path resource [ems-init.properties] cannot be resolved to absolute file path because it does not reside in the file system: vfs:/home/tanmoy/JBoss/jboss-as-distribution-6.0.0.Final/server/default/deploy/EMS.war/WEB-INF/classes/ems-init.properties
  2. 2 crashes - class path resource [com/my/data] cannot be re solved to absolute file path because it does not reside in the file system: jar:file:/C:/jboss-4.0.1 sp1/server/default/tmp/deploy/tmp13967my.ear-contents/my-server.jar!/com/my/data
  3. 1 crashes - class path resource [META-INF/foo/file.txt] cannot be resolved to absolute file path because it does not reside in the file system: jar:file:/D:/m2repo/uic-3.2.6-0.jar!/META-INF/foo/file.txt
  4. 1 crashes - class path resource \[net/sf/gilead/sample/resources\] cannot be resolved to absolute file path because it does not reside in the file system: jar:file:/C:/jboss-4.2.3.GA/server/default/deploy/SampleGilead.war/WEB-INF/lib/SampleGilead-api-1.0-SNAPSHOT.jar\!/net/sf/gilead/sample/resources
  5. 1 crashes - class path resource [key.ser] cannot be resolved to absolute file path because it does not reside in the file system: jar:file :/home/toor/efax-jar-with-dependencies.jar!/key.ser
  6. 1 crashes - class path resource [bus/valueobjects/] cannot be resolved to absolute file path because it does not reside in the file system: vfs:#/EAP-7.0.0/standalone/deployments/###.war/WEB-INF/classes/bus/valueobjects/
  7. 1 crashes - class path resource [one/resource/path/resource] cannot be resolved to absolute file path because it does not reside in the file system: jar:file:/home/user/dev/project/build_output/splice_links/da39a3ee5e6b4b0d3255bfef95601890afd80709/resources/resource.jar!one/resource/path/resource