无法在 Eclipse 中保存项目首选项
- 作者: 自摸白板
- 来源: 51数据库
- 2023-01-14
问题描述
我要做的就是将我的项目的 Java 编译器设置为 5.0.默认为 1.4.当我尝试按 OK 按钮保存时,出现以下错误.
All I am trying to do is to set the Java compiler for my project as 5.0. It is 1.4 by default. When I try to save by pressing OK button I get the following error.
首选项保存失败:
原因:保存项目首选项时发生异常:/com.myproj.reqmanager.ui/.settings/org.eclipse.jdt.ui.prefs.
Reason: Exception Occured while saving project preferences: /com.myproj.reqmanager.ui/.settings/org.eclipse.jdt.ui.prefs.
我之前从未收到此错误.我的意思是我之前已经导入了这个项目并保存了首选项设置,没有任何问题.我现在突然遇到这个问题.
I never got this error earlier. I mean I have imported this project before and saved preference settings without any problem. Out of nowhere I am getting this problem now.
推荐答案
五年后,这种情况仍然存在.在我的情况下,我移动了 .settings 文件夹,再次保存(.settings 是自动创建的)并手动合并文件.
Five years later and this still occurs. In my case I moved the .settings folder, saved again (.settings is created automatically) and merged the files manually.
发生在 Android 开发者工具版本:v22.6.2.
Happens on Android Developer Tools Build: v22.6.2.