Resolves an issue in eclipse that appears in the resource is out of sync with the file system
Source: Internet
Author: User
When searching in eclipse, sometimes the error dialog box pops up after the search, and the error excerpt is as follows:
Resource is out of sync with the file system ...
Analysis: Sometimes because of the urgency of the reason, so did not go to it, today again encountered it, really looked uncomfortable, so think of ways to solve the problem.
This problem is due to the fact that Eclipse Chinese is not in sync. In Eclipse, the project files are added by Eclipse Auto-Scan, and if the files in the project directory are modified externally and the auto-refresh feature is turned off, the file will be out of sync, resulting in a search that occurs resource System issues (Other features may also be the case). In addition, it is possible that the issue may be caused by an external failure to modify files in the Eclipse project.
Workaround: There are two ways to resolve this:
1) Manual Refresh. That is, in the project catalog of Eclipse, right-click Refresh (or press F5).
2) To configure Eclipse options:
A) When Eclipse starts, refresh workspace, tick: Window->preferences->general->startup and Shutdown->refresh workspace on Startup
b) Window->preferences->general->workspace: Tick the option: Refresh using native hooks or polling and refresh on access;
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.