Eclipse 3.3.2 + MyEclipse 6.0.1 + Tomcat 6.0.16错误处理 (2008-03-25 11:28:49)

来源:互联网 发布:2016淘宝重复开店处罚 编辑:程序博客网 时间:2024/06/05 15:50

我的Eclipse 3.3.2 + MyEclipse 6.0.1 + Tomcat 6.0.16
经常把以下错误:
 
An internal error occurred during: "Processing Dirty Regions".
org/eclipse/wst/sse/ui/internal/reconcile/validator/ValidationHelper
 
An internal error occurred during: "JSP Content Validator".
org/eclipse/wst/sse/ui/internal/reconcile/validator/ValidationHelper
 
An internal error occurred during: "JSP Semantics Validator (JSF)".
org/eclipse/wst/sse/ui/internal/reconcile/validator/ValidationHelper
 
An internal error occurred during: "JSP Syntax Validator".
org/eclipse/wst/sse/ui/internal/reconcile/validator/ValidationHelper
 
 
解决方案:
一.这是由于插件org.eclipse.wst.sse.ui所致,myeclipse中的这个插件是修改过的zmyeclipse版本(在myeclipse安装目录/eclipse/plugins中),但之后自动升级功能下载了更新版本的未修改版插件(在原eclipse的plugin中),所以myeclipse据版本号判断加载了更新的插件。
但myeclipse的运行依赖修改版本的插件添加的一些功能,可是新的插件未包含这些功能。
 
如错误中出现的org/eclipse/wst/sse/ui/internal/reconcile/validator/ValidationHelper.class,其实在未修改版本中根本不存在这个类,所以出错。
解决方案:将原eclipse中plugins中的org.eclipse.wst.sse.ui_1.x.xxxxxxx.jar挪到其他地方。
 
二.有更好的解决方法
myeclips中,到Help -> Software Updates -> Manage Configuration
展开后有两项,一项是原有eclipse,一项是myeclipse,展开原有eclipse,
右键选中Web Standard Tools(WST)xxx那一项,disable,重启myeclipse
原创粉丝点击