FileSystemResource.getInputStream() has thrown a FileNotFoundException

java.io.FileNotFoundException
at java.io.FileInputStream.open
(Source)
at java.io.FileInputStream.<init>
(Source)
at org.springframework.core.io.FileSystemResource.getInputStream
(Source)

Typical Exception Messages

  1. C:\projects\StackWorkspace-2.1\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\stack-petstore\WEB-INF\classes\org\lds\stack\petstore\view\bean (Access is denied)
  2. Users/dbeauregard/Software/spring-xd/spring-xd-1.0.0.M5/gemfire/config/my-demo.xml (No such file or directory)
  3. C:\Documents and Settings\ray\.m2\repository\org\aopalliance\com.springsource.org.aopalliance\1.0.0\com.springsource.org.aopalliance-1.0.0.jar (The system cannot find the path specified)
  4. wait-applicationContext.xml (The system cannot find the file specified)
  5. tmp/context.xml (No such file or directory)
  6. newSpringXMLConfig.xml (The system cannot find the file specified)
  7. C:\Users\m\git\OpenTripPlanner (Access is denied)
  8. C:\svn\osgi_prototype\tests \integration-tests\configuration-it\.\target\test-classes\META-INF (Access is denied)
  9. /home/mario/.m2/repository/org/springframework/osgi/spring-osgi-annotation/1.0-m3-SNAPSHOT/spring-osgi-annotation-1.0-m3-SNAPSHOT.jar (No such file or directory)
  10. /home/wouter/.m2/repository/org/ springframework/osgi/spring-osgi-annotation/1.0-m3-SNAPSHOT/spring- osgi-annotation-1.0-m3-SNAPSHOT.jar (No such file or directory)

Origin

Similar

Specific cases

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

  1. Jenkinsvia Google Groups3 months ago
    null/target/dependencies.list (No such file or directory)
  2. tntowkervia Google Groups9 months ago
    IOException parsing XML document from file [/opt/membrane/membrane-esb-cli-3.5.3/opt/membrane/membrane-esb-cli-3.5.3/conf/monitor-beans.xml]; nested exception is java.io.FileNotFoundException: opt/membrane/membrane-esb-cli-3.5.3/conf/monitor-beans.xml (No such file or directory)
  3. IOException parsing XML document from file [/Users/mansi/Desktop/springapp/SpringApp4/com/jc/cfgs/applicationContext.xml]; nested exception is java.io.FileNotFoundException: com/jc/cfgs/applicationContext.xml (No such file or directory)
  4. Chan Agvia Coderanch1 year ago
    IOException parsing XML document from file [C:\Users\SomeUser\Documents\NetBeansProjects\MySpringApp1\newSpringXMLConfig.xml]; nested exception is java.io.FileNotFoundException: newSpringXMLConfig.xml (The system cannot find the file specified)
  5. Ray Davisvia Spring JIRA1 year ago
    C:\Documents and Settings\ray\.m2\repository\org\aopalliance\com.springsource.org.aopalliance\1.0.0\com.springsource.org.aopalliance-1.0.0.jar (The system cannot find the path specified)
  6. tom quasvia Spring JIRA1 year ago
    tmp/context.xml (No such file or directory)
  7. John Kwonvia Spring JIRA1 year ago
    wait-applicationContext.xml (The system cannot find the file specified)
  8. Derek Beauregardvia Spring JIRA1 year ago
    IOException parsing XML document from file [/Users/dbeauregard/Users/dbeauregard/Software/spring-xd/spring-xd-1.0.0.M5/gemfire/config/my-demo.xml]; nested exception is java.io.FileNotFoundException: Users/dbeauregard/Software/spring-xd/spring-xd-1.0.0.M5/gemfire/config/my-demo.xml (No such file or directory)
  9. Mike Youngstromvia Spring JIRA1 year ago
    I/O failure during classpath scanning; nested exception is java.io.FileNotFoundException: C:\projects\StackWorkspace-2.1\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\stack-petstore\WEB-INF\classes\org\lds\stack\petstore\view\bean (Access is denied)
  10. John Kwonvia Spring JIRA2 years ago
    wait-applicationContext.xml (The system cannot find the file specified)