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 中保存项目首选项


基础教程推荐
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 从 python 访问 JVM 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 多个组件的复杂布局 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01