I am trying to use this Spring Boot MonogoDB example but I wanted to change the location of the monogoDB server.
http://spring.io/guides/gs/accessing-data-mongodb/
I added the following line to Application.java:
@PropertySource("classpath:/app-config.properties")
Plus added app-config.properties
to src/resources
but I am getting this error:
Caused by: java.io.FileNotFoundException: class path resource [app-config.properties] cannot be opened because it does not exist
Can someone please help me out...