title: Unable to read Unix server path for resource property Spring Batch
body: <p>Please help on configuring the resource path for unix location path in SPRING batch. Its working fine when tried in Windows machine.</p>
  
  <p>Property configured in properties file.
  location=//home/dir/file.txt</p>
  
  <p>XML Configuration:</p>
  
  <pre><code>&lt;bean id="diDeactivateReader" class="org.springframework.batch.item.file.FlatFileItemReader"&gt;
          &lt;property name="resource"
              value="**file:${location}**" /&gt;
          &lt;property name="lineMapper"&gt;
              &lt;bean class="org.springframework.batch.item.file.mapping.DefaultLineMapper"&gt;
                  &lt;property name="lineTokenizer"&gt;
                      &lt;bean
                          class="org.springframework.batch.item.file.transform.FixedLengthTokenizer"&gt;
                          &lt;property name="names" value="${column.names}" /&gt;
                          &lt;property name="columns" value="${column.position}" /&gt;
                      &lt;/bean&gt;
                  &lt;/property&gt;
                  &lt;property name="fieldSetMapper"&gt;
                      &lt;bean class="org.test.TestMapper" /&gt;
                  &lt;/property&gt;
              &lt;/bean&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Caused by: java.lang.IllegalStateException: Input resource must exist (reader is in 'strict' mode): class path resource [//home/dir/file.txt]
      at org.springframework.batch.item.file.FlatFileItemReader.doOpen(FlatFileItemReader.java:250)
      at org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader.open(AbstractItemCountingItemStreamItemReader.java:134)
      ... 15 more
  </code></pre>