英文原文:
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.
处理方法:
Help > Software Updates > Manage Configuration 对话框,找到WST和JST项目,然后分别禁用重新启动就可以了。
主要原因是myeclipse 5.1 GA自己提供了改进了的WST和JST,所以,如果不禁用eclipse自带的,启动的时候就会优先加载eclipse自带的WST和JST,导致myeclipse 5.1 GA不能正常工作。
--------------------------------------------------------------------------------------------
我的问题是在lomboz插件中有WST和JST,所以取代了myeclipse 5.1GA的,用上面的方法禁用了就行了
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.
处理方法:
Help > Software Updates > Manage Configuration 对话框,找到WST和JST项目,然后分别禁用重新启动就可以了。
主要原因是myeclipse 5.1 GA自己提供了改进了的WST和JST,所以,如果不禁用eclipse自带的,启动的时候就会优先加载eclipse自带的WST和JST,导致myeclipse 5.1 GA不能正常工作。
--------------------------------------------------------------------------------------------
我的问题是在lomboz插件中有WST和JST,所以取代了myeclipse 5.1GA的,用上面的方法禁用了就行了