您的位置:首页 > 编程语言 > Java开发

eclipse之The currrently displayed page contains invalid values错误

2016-10-21 16:47 232 查看
原文地址:http://blog.csdn.net/berryreload/article/details/24570913

现象: eclipse的preferences里面需要保存密码,保存报错
Could Not Accept Changes
The currrently displayed page contains invalid values
或者是保存后,再次打开preferences窗口,提示
The currrently displayed page contains invalid values

环境:

Windows 2008

remote windows terminal 远程桌面访问

clipse Juno

可能有多人用一个帐号登录Windows OS。

排错:
查看eclipse日志,文件%workspace%\.metadata\.log
看到如下内容:
!ENTRY org.eclipse.equinox.security 4 0 2014-04-26 01:00:28.919
!MESSAGE Secure storage was
unable to retrieve the master password. If secure storage was created using a different Windows account, you'll have to switch back to that account. Alternatively, you can use the password recovery, or delete and re-create secure storage.
!STACK 0
org.eclipse.equinox.security.storage.StorageException: Secure storage was unable to retrieve the master password. If secure storage was created using a different Windows
account, you'll have to switch back to that account. Alternatively, you can use the password recovery, or delete and re-create secure storage.
at org.eclipse.equinox.internal.security.win32.WinCrypto.getPassword(WinCrypto.java:62)

解决办法:

打开eclipse preferences,选择General->Security->Secure Storage,去掉Windows Integration,保留UI Prompt,确定,关闭Preferences窗口。

注意如果多个人在这台机器启动了 eclipse,操作前请其他人退出eclipse。

不方便的地方:

eclipse在保存读取口令等敏感数据到preferences的时候,可能会提示用户设置/填写口令。

首次设置口令的时候会提示是否需要提供恢复口令的手段,可以不提供,取消即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: