• 解决eclipse中出现Resource is out of sync with the file system问题


    解决eclipse中出现Resource is out of sync with the file system问题 . 分类: 嵌入式开发平台和环境相关 2011-12-27 16:18 4872人阅读 评论(1) 收藏 举报 eclipsesystemfileaccess 作者:reille 本博客网址:http://blog.csdn.net/reille/,转载本博客原创文章请注明出处。 本文内容概要: 解决eclipse中出现Resource is out of sync with the file system问题。 eclipse版本:eclipse SDK 3.7.0 ——————————————————————————————————————————————————————————————————— 在eclipse中搜索时,搜索完之后有时候会弹出错误对话框,错误摘录如下: Resource is out of sync with the file system...... 分析: 有时候因为时间紧迫的原因,所以就没去管它,今天再次遇到它,实在看着不爽,所以想了办法解决此问题! 这个问题是由于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; 本人的eclipse版本是:eclipse SDK 3.7.0

  • 相关阅读:
    Linux下Java环境安装
    Go语言学习之10 Web开发与Mysql数据库
    Go语言学习之9 网络协议TCP、Redis与聊天室
    Redis入门指南之三(入门)
    Redis入门指南之一(简介)
    Go语言学习之8 goroutine详解、定时器与单元测试
    Redis入门指南之二(安装及配置)
    Go语言学习之7 接口实例、终端文件读写、异常处理
    Go语言学习之6 反射详解
    Go语言学习之5 进阶-排序、链表、二叉树、接口
  • 原文地址:https://www.cnblogs.com/stragon/p/3180555.html
Copyright © 2020-2023  润新知