resource is out of sync with the file system 错误处理

resource is out of sync with the file system 异常处理如果eclipse中的项目无法查看源文件,或者导出jar

resource is out of sync with the file system 异常处理

如果eclipse中的项目无法查看源文件,或者导出jar包时出现该异常,最直接的办法是clean项目,然后手动刷新,其次可以将IDE环境设置为自动刷新!

?

出现该异常的原因是在eclipse工程之外的地方修改了源文件(比如 svn更新项目)但是没有刷新.设置为自动刷新的步骤:

? Window->Preferences->General->Workspace,选中Refresh automatically。