无法在 Eclipse 中保存项目首选项 [英] Can't save project preferences in Eclipse

查看:30
本文介绍了无法在 Eclipse 中保存项目首选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要做的就是将我的项目的 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.

这篇关于无法在 Eclipse 中保存项目首选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆