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 中保存项目首选项
基础教程推荐
- Maven:无效的目标版本:10 2022-01-01
- JPA惰性列表上的流 2022-01-01
- 将 Windows 证书导入 Java 2022-01-01
- 将 double 转换为 Int,向下舍入 2022-01-01
- 如何在相机中应用自定义滤镜 [Surfaceview 预览]. 2022-01-01
- Java ECDSAwithSHA256 签名长度不一致 2022-01-01
- 在java中使用xpath和selenium解析HTML表格数据 2022-01-01
- 在springboot中如何给mybatis加拦截器 2023-04-29
- doFilter()是在servlet的工作完成之前还是之后执行的? 2022-01-01
- 控制台应用程序中的 Java 键盘输入解析 2022-01-01
