Resource is out of sync with the file system错误解决

来源:互联网 发布:at89c52中文数据手册 编辑:程序博客网 时间:2024/05/20 14:19

       在使用eclipse的过程中,手动修改图片文件后,启动run on server时或查看项目文件时报错:

       Resource is out of sync with the file system: 'common/images/default_o1.jif'. ‘       

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

        解决办法是需要手动刷新一下资源管理器,主要有以下两种办法:

       1、在eclipse中,工程目录右键,选择F5(refresh) ;
       2、设置eclipse自动刷新: 通过Window->Preferences->General->Workspace,选中Refresh automatically;

原创粉丝点击