Eclipse:无法将input.txt文件复制到src中?

时间:2015-09-14 15:13:56

标签: eclipse

我试图将文本文件(input.txt)复制到我的src文件夹中。不幸的是,我得到了:

"磁盘上已存在资源&#39 / /Users/me/Desktop/Programming/HandHistoryConverter/src/input.txt"

但是,input.txt并没有出现在Eclipse左侧文件夹菜单的src文件夹中。

知道如何解决?

谢谢!

2 个答案:

答案 0 :(得分:0)

Try taking it away from your folder and adding it to your src folder (in eclipse) by dragging it in. Worked for me.

答案 1 :(得分:0)

In the File menu you can find Refresh. Using Refresh will solve it.

(Or, just restart your Eclipse for the last resort...)