您的位置:首页 > 其它

分布式版本控制(二)[zt]

2008-04-08 16:02 239 查看
今天开始正式接触JBPM工作流,部署了JBPM4.4的一个小例子,部署好访问时出现以下异常:

 

 

java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/apache/jasper/servlet/JasperLoader) of the current class, org/apache/jsp/index_jsp, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature

在网上搜了下资料,原来是与tomcat版本有关。我用的是tomcat6,用5.5则没问题。

 

用tomcat6的解决方法:

把以下三个包juel.jar  juel-engine.jar  juel-impl.jar拷贝到tomcat的lib下,并且删除项目中的这三个包。然后把tomcat的lib下el-api.jar包删除。搞定。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: