title: how to set properties file under classpath in spring using sts
body: <p>i am learning spring and trying to understand retrieve value from properties file.</p>
  
  <p>I am trying the following way to try out some samples</p>
  
  <pre><code>&lt;util:properties id="spelProp" location="classpath:/META-INF/spelProperties.properties"&gt;&lt;/util:properties&gt;
  </code></pre>
  
  <p>where the content of spelProperties.properties are</p>
  
  <pre><code>spelTeacher.firstName="First name from Properties"
  spelTeacher.lastName="Last name from properties"
  </code></pre>
  
  <p>I try to access the lastName inorder to set one of the bean property like</p>
  
  <pre><code>&lt;bean id="spelTeacher3Xml" class="com.learningweb.Service.SpelSampleTeacher"&gt;
  &lt;property name="lastName" value="#{spelProp[spelTeacher.lastName]}" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>When i try to run using STS
      i am getting an error that 
      "/META-INF/spelProperties.properties" does not exists.</p>
  
  <p>Can someone help me to understand what is wrong here.
  Did i miss any item in configuring classpath or any Spring framework related settings?</p>
  
  <p>Appreciate your help
  (Also any refernce to understand "classpath:" would be helpful. I tried to search but i am getting the right material i am looking for. I am trying to understand what does classpath: does in spring)
  Thanks!!!</p>