Java opened the txt file and kept prompting that the file could not be found

I copied the txt file into the project, but it still couldn"t be opened.

clipboard.png
for a solution, thank you very much.

Mar.25,2022

look at the error message, this is because you did not declare the error of throwing an exception, -!

Menu