title: Why FileSystemXmlApplicationContext throws FileNotFoundException on file that exists
body: <p>I'm running the following code:</p>
  
  <pre><code>new FileSystemXmlApplicationContext("/data/farm/Server/confData/1000004/contex.xml")
  </code></pre>
  
  <p>and it throws </p>
  
  <pre><code>java.io.FileNotFoundException: class path resource [data/farm/Server/confData/1000004/contex.xml] cannot be opened because it does not exist
  </code></pre>
  
  <p>The file exists, I can do </p>
  
  <pre><code>cat /data/farm/Server/confData/1000004/contex.xml
  </code></pre>
  
  <p>and see its content.
  Also in windows this code is working - the problem is in linus (i have ubuntu os)</p>
  
  <p>Can any one advise what is wrong here?</p>