Jbpm4.4 deployment to Tomcat 6 troubleshooting

Source: Internet
Author: User
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.jsp.index_jsp._jspInit(index_jsp.java:23)  org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)  org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:159)  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)  javax.servlet.http.HttpServlet.service(HttpServlet.java:717)  org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)  org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
The reason is that the three jar packages (juel. jar, WEB-INF, juel-engine.jar) and
Jar package (el-api.jar) Conflict in tomcat6 lib
Solution:
Copy the three juel. jar, juel-engine.jar, and juel-impl.jar packages to the tomcat6 Lib,
And delete tomcat/lib original el-api.jar, while the WEB-INF \ Lib in juel. jar, juel-engine.jar, juel-impl.jar can be deleted.

Jbpm4.4 deployment to Tomcat 6 troubleshooting

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.