首页 > 其他 > 详细

兔子--Resource is out of sync with the file system......

时间:2015-02-10 15:28:36      阅读:174      评论:0      收藏:0      [点我收藏+]
这个问题是由于eclipse中文件不同步引起的。在eclipse中,工程文件是由eclipse自动扫描添加的,
如果在外部修改了工程目录中的文件但又关闭了自动刷新功能,则会引起文件不同步,
从而搜索时出现Resource is out of sync with the file system问题(其它功能可能也会如此)。
此外,在外部没有修改eclipse工程中的文件也有可能引起该问题。


解决方法:
有两种解决方法:
1)手动刷新。即在eclipse的工程目录中,右键refresh(或者按下F5)。
2)配置eclipse的选项:
    a)eclipse启动时,刷新workspace,即勾选:window—>preferences—>general—>startup and shutdown—>refresh workspace on startup;
    b)window—>preferences—>general—>workspace中:勾选选项:refresh using native hooks or polling和refresh on access;
 

兔子--Resource is out of sync with the file system......

原文:http://blog.csdn.net/u013425527/article/details/43701969

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!