2014-09-04 123 views
0

大家好我正在尝试使用Intellij运行程序。该程序在Eclipse和Terminal中完美运行。但是使用IDEA似乎忽略了2个文件。Intellij IDEA忽略文件运行问题

java.io.FileNotFoundException: .\data\def\items\ItemValues.txt (The system cannot find the path specified) 

Intellij通常没有错误。运行它时我只会遇到这个错误。该文件在那里我已检查和路径是正确的。 Intellij似乎忽略了它。

回答

0

检查Working directoryRun/Debug Configuration,如果您有多个级别的maven模块,则需要将其更改为$MODULE_DIR$