.project 与文件系统 Eclipse 不同步

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/34895323/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 23:01:38  来源:igfitidea点击:

.project is out of sync with the file system Eclipse

javaeclipse

提问by Subodh Joshi

I am getting below issue in eclipse project

我在 eclipse 项目中遇到以下问题

Could not set the project description for 'web-portal' because the project description file (.project) is out of sync with the file system.

无法为“web-portal”设置项目描述,因为项目描述文件 (.project) 与文件系统不同步。

I tried below things

我试过下面的事情

  1. Build whole workspace again and again
  2. Right Click on project->Refresh
  3. Run mvn -U eclipse:eclipse
  4. Refresh whole workplace
  1. 一次又一次地构建整个工作区
  2. 右键单击项目->刷新
  3. mvn -U eclipse:eclipse
  4. 刷新整个工作场所

But issue is not going to resolve. Can anyone suggest How to resolve this issue?

但问题不会解决。谁能建议如何解决这个问题?

EDIT:-

编辑:-

Whoever mentioned this question as a duplicate please at please read the content of the question Whatever solution provided in the link its not a proper solution and also its not going to resolve the problem .

谁提到这个问题是重复的,请阅读问题的内容链接中提供的任何解决方案都不是正确的解决方案,也不会解决问题。

enter image description here

在此处输入图片说明

While i already checked the option given lots of places

虽然我已经检查了很多地方的选项

enter image description here

在此处输入图片说明

回答by Dean Ko?tomaj

For me closing and opening project worked.

对我来说,关闭和打开项目有效。