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 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:268)
……
该异常为jar包冲突
使用jBPM4.4时如果使用apache-tomcat-6.0.35发布工程会出现该异常
解决方法:1.更换tomcat的其他版本
2.把jBPM4.4的依赖包(juel-api.jar,juel-engine.jar,juel-impl.jar)替换掉apache-tomcat-6.0.35\lib下的(el-api.jar),并在工程中删除(juel-api.jar, juel-engine.jar,juel-impl.jar)这三个包
本文详细介绍了在使用JBPM4.4时,遇到与Apache Tomcat 6.0.35版本发布工程时出现的Servlet LinkageError异常,并提供了两种解决方案:更换Tomcat版本或替换相关依赖包。
634

被折叠的 条评论
为什么被折叠?



