【问题标题】:Where does eclipse keep the information about the sourceseclipse 在哪里保存有关来源的信息
【发布时间】:2017-04-21 07:50:34
【问题描述】:

昨天我在我的 Java 项目中导入了一些 Java 文件(只是为了能够将它们编译成 *.class 文件),然后我删除了这些文件,现在我的 Eclipse 不断显示以下抱怨:

Could not move: <the mentioned Java file>
  File not found: <again the mentioned Java file>

除此之外,Eclipse 还提到插件“org.eclipse.core.filesystem”中存在这个问题。

现在我想做以下事情:
我想转到包含此过时引用的文件并在该文件中将其删除。 (在 Visual Studio 中这是小菜一碟)

如何在 Eclipse 中做到这一点? Eclipse 将其项目文件存储在哪里?

【问题讨论】:

  • 您是如何通过拖放导入这些文件的?
  • 不,我使用了上下文菜单。
  • 粘贴应该有同样的效果...所以不要使用导入菜单
  • 您是否在文件系统中检查过您的项目?在eclipse中清理了项目?

标签: java eclipse configuration projects-and-solutions


【解决方案1】:

将鼠标光标放在源代码中的类或方法名上并点击 Ctrl+Shift+G。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-05-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多