"pats Patil", are you somehow related to "Vikas Patil"? If so, let us know which account you'd like to keep so that we can close the other.
when properties file is kept inside src folder it is accessible.
No. Resources are loaded from the classpath, and the source folder should not be part of it.