我的目录结构是这样的:
    src
       |-  Dictionary0.java
       |-  words.txtDictionary0.java中的内容如下:
import java.io.*;
import java.util.*;class Dictionary0 {
Vector words = new Vector(); Dictionary0() {
loadWords();
} void loadWords() {
try {
BufferedReader f = new BufferedReader(new FileReader("words.txt"));
String word = null;
while ((word = f.readLine()) != null) {
words.addElement(word);
}
} catch (Exception e) {
System.err.println("Unable to read from words.txt");
// continue with empty dictionary
}
} public boolean isWord(String w) {
for (int j = 0; j <= words.size(); ++j) {
String w2 = (String) words.elementAt(j);
if (w.equals(w2)) {
return true;
}
}
return false;
}
public static void main(String[] args) {

   System.out.println(new Dictionary0().isWord("crown"));
}
}当我做单元测试的时候老是说:Unable to read from words.txt 请问路径该怎样写才可以,谢谢!!!