IntelliJ中.cache文件的java.io.FileNotFoundException

时间:2018-02-11 19:48:04

标签: intellij-idea

我的项目是IntelliJ很好,突然我开始收到以下错误

Loading project definition from C:\Users\Manu\Documents\manu\codingjedi\code_related\code\frontend\web\project
java.io.FileNotFoundException: C:\Users\Manu\Documents\manu\codingjedi\code_related\code\frontend\web\project\target\config-classes\$999b06365add2ae5fadc.cache (The system cannot find the file specified)

由于这个原因,我无法编译我的代码。有什么问题?

2 个答案:

答案 0 :(得分:0)

删除(通过重命名).purchased目录后,

工作并重建项目。它在project/target中创建了一个新的target目录,而且事情正在重新开始

答案 1 :(得分:0)

每当您在IntelliJ中遇到缓存问题时,您都可以尝试使用Invalidate Caches / Restart菜单中的File操作。请仔细阅读显示的消息("警告:本地历史记录也将被清除。")。

您可以尝试另一件事:Rebuild Project菜单中的Build