---
title: "resource is out of sync with the file system 异常处理"
author: "liubingjun"
date: "2011-06-13T10:20:53Z"
tags: []
categories: ["编程语言"]
slug: "resource-is-out-of-sync-with-the-file-system"
draft: false
lastmod: "2011-06-13T10:20:53Z"
id: 1083033
url: "https://liubingjun.iteye.com/blog/1083033"
---

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

 

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

  Window-&gt;Preferences-&gt;General-&gt;Workspace，选中Refresh automatically。