MyEclipse 5.1 GA 右键菜单不出现

When installing MyEclipse 5.1, it's possible with some configurations of Eclipse (that already have WST and JST installed) to get into a situation where your right-click context menu in MyEclipse will stop working (or will popup and then close instantly). If you check your log file (<workspace dir>/.metadata/.log) you will see a series of "ClassNotFoundExceptions" logged pertaining to a validation helper class.

The cause of this is that in MyEclipse 5.1, the MyEclipse team had to slightly augment the WST and JST plugins to support the new Validation Exclusion feature (you can mark files to be ignored for validation). Unfortunately on setups of Eclipse that already have these plugins installed, most likely from WTP, it's possible that on startup, the Eclipse platform is loading the standard versions of WST and JST, instead of the slightly modified MyEclipse copies.

The way to fix this is to open the Help > Software Updates > Manage Configuration dialog. Then expand the Eclipse node (not the MyEclipse node) and drill down to find the WST and JST plugins. First you disable the JST plugin, and restart if necessary, then the WST plugin and restart again if necessary. After that, since you disabled the duplicates of WST and JST, as the Eclipse platform is loading, it will load the slightly modified MyEclipse copies of those plugins instead and the problem will be gone.

   大意:当安装了MyEclipse5.1的时候,已经安装了WST和JST的Eclipse 可能会进入一种右键上下文菜单停止工作的状态,如果你检查你的workspace目录下的.metadata目录下的.log文件你将看到一系列的"ClassNotFoundExceptions"异常

  导致问题的原因就是MyEclipse小组不得不稍稍改动下WST和JsT插件以支持新的执行检查元素,不幸的是,Eclipse已经安装了这两个插件,可能在启动的时候,Eclipse已经载入了标准版的WST和JST插件,而不是MyEclipse的那一份.

  修复的方式如下打开Help>Software Update>Manage Configuration dialog .然后打开Eclipse 节点(而不是MyEclipse节点)找到WST 和JST,首先在窗口的右面disable JST插件,重启Eclipse 然后disable WST重启

Eclipse 然后当Eclipse平台启动的时候,将载入MyEclipse的插件,问题就会解决.

Lomboz Eclipse 3.2 + MyEclipse 5.1 GA +WindowsXP平台下验证通过 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值