Can#39;t save project preferences in Eclipse(无法在 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 中保存项目首选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:无法在 Eclipse 中保存项目首选项


基础教程推荐
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01
- 降序排序:Java Map 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01