While reading data from properties file getting error,
Exception in thread "main" java.io.FileNotFoundException: F:\Surya\Module2\src\config\Module.propertie (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at FileOperations.Readingpropertiesfile.main(Readingpropertiesfile.java:12)
PFA!
Instructor
Ashish Thakur Replied on 10/01/2019
Exception in thread "main" java.io.FileNotFoundException: F:\Surya\Module2\src\config\Module.propertie (The system cannot find the file specified)
This error states that you have spelling misake in the name of properties file in code
"Module.propertie" should be Module.propertie