zoukankan      html  css  js  c++  java
  • myEclipse全局搜索时报错

    1、全局搜索时出错。

    大家都知道,Eclipse可以用Ctrl+ H 进行全局搜索,但今天搜索时出现了一个问题:

    Problem Occurred

    ‘File Search’ has encountered a problem. Problems encountered during text search.

    上图:

    点击Details>>

    可以看到

    Problems encountered during text search.
    File '/XXX/file.xxx' has been skipped, 

    problem while reading: ('Resource is out of sync with the file system: 'XXX/file.xxx'.').
    Resource is out of sync with the file system: 'XXX/file.xxx'.

    Resource is out of sync with the file system: 

    说白了就是由于你在Eclipse之外对project进行了修改

    解决办法是,选中Project(项目)  摁F5刷新,或者右键Refresh就行。

    有些人说,刷新后还是有错,这可能的原因是:

    你的workplace有多个项目,你只刷新了当前项目,可以一个一个全部刷新过后就好了。

    什么?一个一个刷太慢? 

    那可以再刚才你点Details>>的详细信息里看到具体哪个项目的文件被Eclipse之外修改了

    找到那个项目或那些项目,Refresh即可。

    如果项目不多,直接全选所有的项目,然后F5刷新后再搜索即可

  • 相关阅读:
    hdu 5902 Seam Carving
    hdu 5091 Beam Cannon
    hdu 1542 Atlantis
    hdu 2196 Computer
    第一个爬虫和测试
    排球比赛规则
    第十周博客作业
    科学计算可视化
    用matplotlib绘制图像
    面对对象学习
  • 原文地址:https://www.cnblogs.com/libin6505/p/7611634.html
Copyright © 2011-2022 走看看