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?
<util:properties id="HibernateProperties" location="classpath:hibernate.properties"/>
java.io.FileNotFoundException: class path resource
[hibernate.properties] cannot be opened because it does not exist
Best Answer
Here some doc from spring
so,
may give you better chance.
but,