当前位置: 代码迷 >> 综合 >> 【Tools.Eclipse】Resource is out of sync with the file system解决办法
  详细解决方案

【Tools.Eclipse】Resource is out of sync with the file system解决办法

热度:1   发布时间:2023-12-14 19:43:32.0

在eclipse中,启动run on server时或查看项目文件时报错: 

Resource is out of sync with the file system: '... ....'.。


这是文件系统不同步的问题,是因为在eclipse之外对工程中的resource进行修改引起的(或者是由不同的系统间对文件进行修改引起的);但是,有时没有在eclipse之外进行修改,也会报类似的错误。 


解决办法:需要手动刷新一下资源管理器。 

  • 在eclipse中,工程目录(和Servers)右键,选择F5(refresh) 
  • 设置eclipse自动刷新 —— 通过Window->Preferences->General->Workspace,选中Refresh automatically

  相关解决方案