Solve the problem of resource is out of sync with the file system in eclipse.

Source: Internet
Author: User

Author: reille

This blog website: http://blog.csdn.net/reille/, to download original blogsArticleIndicate the source.

Summary of this article: solve the problem of resource is out of sync with the file system in eclipse.
Eclipse version: Eclipse SDK 3.7.0

-------------------------------------------------------------------

When searching in eclipse, an error dialog box is displayed after searching. The error excerpt is as follows:
Resource is out of sync with the file system ......

Analysis:
Sometimes, because of time constraints, I don't care about it. Today I met it again, but it was really uncomfortable. So I thought of a solution to this problem!

This problem occurs because files in eclipse are not synchronized. In eclipse, project files are automatically scanned and added by eclipse. If files in the project directory are modified externally but the automatic refresh function is disabled, the files are not synchronized, in this case, the resource is out of sync with the file system problem occurs during the search (this may be true for other functions ). In addition, files in the Eclipse project that are not modified externally may also cause this problem.

Solution:
There are two solutions:
1) manually refresh. In the Eclipse project directory, right-click Refresh (or press F5 ).
2) Configure eclipse options:
A) When eclipse is started, refresh the workspace. Select WINDOW> preferences> General> startup and shutdown> refresh workspace on startup;
B) window-> preferences-> General-> Workspace: Select refresh using native hooks or polling and refresh on access;

My eclipse version is: Eclipse SDK 3.7.0

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.