eclipse之The currrently displayed page contains invalid values错误

现象: 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的时候,可能会提示用户设置/填写口令。

首次设置口令的时候会提示是否需要提供恢复口令的手段,可以不提供,取消即可。






  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值