title: Spring - java.io.FileNotFoundException: class path resource cannot be opened because it does not exist
body: <p>I am developing a Spring Boot application which has a dependency added. This dependency has a spring.xml file. I am scanning this xml file and creating beans as well. One of the beans is looking for hibernate.properties in classpath. I have added this property file under resources folder of my application. However I still see the exception listed below. Please can you let me know what I am missing?</p>
  
  <pre><code> &lt;util:properties id="HibernateProperties" location="classpath:hibernate.properties"/&gt;
  </code></pre>
  
  <blockquote>
    <p>java.io.FileNotFoundException: class path resource
    [hibernate.properties] cannot be opened because it does not exist</p>
  </blockquote>