File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in reading Properties file

 
duhit Choudhary
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am getting error while executing the program given below




and the error is:
java.io.FileNotFoundException: C:\BlackList.propeties (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:97)
at test.TestNew.main(TestNew.java:20)
please let me know what i am doing wrong. i alreasy check the file anem and its location which is correct. in the 16th line.
Thanks in advance.
 
Akhilesh Trivedi
Ranch Hand
Posts: 1599
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
duhit Choudhary wrote:and the error is:
java.io.FileNotFoundException: C:\BlackList.propeties (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:97)
at test.TestNew.main(TestNew.java:20)


Is it properties or propeties? The error message is clear.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic