How To Resolve “Resource Is Out Of Sync With The Filesystem” Error in Eclipse?

The error in eclipse IDE Resource Is Out Of Sync With The File system happens many time when the resource is out of sync and may be updated by some other sources. We need refresh each time by default to load that files. There is settings in eclipse to permanently fix this problem. Look at the below window to resolve that error. Open the preference window in eclipse and check the option “Refresh using native hooks or pooling” or “Refresh Automatically”. To go to that option follow the path:

Window -> Preferences -> General -> Workspace

Refresh Eclipse IDE Files Sync

Eclipse is using poling mechanism to load the files. It might impact the performance for some users.



About Krishna Srinivasan

He is Founder and Chief Editor of JavaBeat. He has more than 8+ years of experience on developing Web applications. He writes about Spring, DOJO, JSF, Hibernate and many other emerging technologies in this blog.