java.io.FileNotFoundException: phone.txt (The system cannot find the file specified)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Use the relative path when providing the location of the file. Place the file in the project folder and access it according to the hierarchy. If you want to access a file outside the project folder, provide the absolute path.

Solutions on the web

via Stack Overflow by Unknown author, 2 years ago
phone.txt (The system cannot find the file specified)
via Oracle Community by 843793, 1 year ago
(The system cannot find the file specified)
via Google Groups by Charles Taylor, 2 years ago
ldaprealm.properties (The system cannot find the file specified)
via Stack Overflow by Ray Nicholus
, 2 years ago
uploadtemp\upload__3e026c78_13815404c62__7ff2_00000141.tmp (The system cannot find the file specified)
via Stack Overflow by theTuxRacer
, 2 years ago
foo.xls (The system cannot find the file specified)
via Stack Overflow by Unknown author, 2 years ago
input (The system cannot find the file specified)
java.io.FileNotFoundException: phone.txt (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)

Users with the same issue

4 times, 6 days ago
2 times, 3 weeks ago
Once, 2 months ago
5 times, 2 months ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.