Sometimes I get an error that my application cannot find this properties file. I have been having a lot of issues with this lately. Any clues why?
Are you giving correct path to properties file? If properties file is not in the current working directory, you should give correct path (e.g. c:/1.properties or /home/levent/1.properties) to the FileInputStream and FileOutputStream constructors.