title: Unable to find property file
body: <p>I have a number of Java property files which used to be included in the standard <code>resources</code> directory and the following property holder of Spring works fine.</p>
  
  <pre><code>&lt;context:property-placeholder location="classpath:/project/myproperty.properties/&gt;
  </code></pre>
  
  <p>For some reason, I need to move them to another location so that they are not included as part of the JAR. The deployment script will handle them and copy them to a specific location called <code>config</code>.</p>
  
  <p>I added the new location to the <code>classpath</code> argument of my java command, however, the above statement always fails, complaining no property file is found. My command is a follows</p>
  
  <pre><code>java -classpath "C:\Deployment\config" ............
  </code></pre>
  
  <p>And the property file does exist under:</p>
  
  <pre><code>C:\Deployment\config\project\myproperty.properties
  </code></pre>
  
  <p>Can someone let me know what I did wrong?</p>