I want to put my application properties file in Tomcat's conf directory therefore I wrote
<context:property-placeholder location="${catalina.base}/conf/app.properties"/>
I get FileNotFoundException: Could not open ServletContext resource
. The app.properties file is there. Problem is an additional slash at the beggining of the path the Spring is looking for the file at. It looks like /D:/...../conf/app.properties
Solution: Writing ......location="file:${catalin..... worked.