Я вижу файл в своей папке и могу его открыть.
Код:
Код: Выделить всё
DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
domFactory.setIgnoringComments(true);
DocumentBuilder builder = domFactory.newDocumentBuilder();
Document doc = builder.parse(new File("MyFolder\Test.xml"));
Код: Выделить всё
java.io.FileNotFoundException: C:\MyFolder\Test.xml (The system cannot find the file specified)
***Примечание: настоящее имя файла — «Use-cases\testSuitesA_E_1002+${user}3_12022016+${date}2_2.5.xml».< /п>
Подробнее здесь: https://stackoverflow.com/questions/549 ... ile-exists