◎筱米加步枪◎.Blog

Happy coding

Jbpm4.3和Tomcat6.0兼容问题

筱米加步枪 posted @ 2010年8月09日 21:40 in [ 开源框架 ] with tags JBPM Tomcat , 4285 阅读

最近在研究,想自己随便搞个请假流程,环境是Jbpm4.3 Tomcat6.0,出师不利,刚启动Tomcat就报如下错误:

javax.servlet.ServletException: 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

百度之得原因:

原来Jbpm4.3 下的juel.jar, juel-engine.jar, juel-impl.jar包和Tomcat6.0中的el-api.jar包冲突了。

解决方法如下:

 1.将juel.jar, juel-engine.jar, juel-impl.jar拷贝到Tomcat6.0 的lib目录下

2.删除Tomat6.0中lib下的el-api.jar

3.要把项目中的juel.jar, juel-engine.jar, juel-impl.jar包去掉

OK~~再测试成功~~

w60292 说:
2010年11月16日 05:28

版主您好,我想請問關於第三點您所寫的"項目" 是位於何處?

謝謝您的回覆

Avatar_small
筱米加步枪 说:
2010年11月18日 23:38

就是在你发布到tomcat后的【项目\WEB-INF\lib】目录下~~~

전설 서구 说:
2021年2月27日 20:19

Wonderful blog! Do you have any tips and hints for aspiring writers? Because I’m going to start my website soon, but I’m a little lost on everything. Many thanks! https://gogoanime.bar/

NCERT Sanskrit Sampl 说:
2022年9月27日 18:39

The Sanskrit Language is one of the important languages and those 2nd Standard students of English Medium, Hindi Medium and Urdu Medium crossed it as their Second or Third Language. The Sanskrit language helps students to about the Indian culture and history of our country etc. So students who chose the Sanskrit language as their optional language can download NCERT Sanskrit Sample Paper 2023 Class 2. NCERT Sanskrit Sample Paper Class 2 Learning the Sanskrit language should begin from the foundation of Education to enable students to understand the language without any difficulties. To know the examination question pattern and scheme of the exam everyone can download NCERT Sanskrit Sample Paper 2023 Class 2 for all formats of exams conducted in Term 1, and Term 2.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter