Jbpm4-based Web project JSP page publishing Error

Source: Internet
Author: User

Core tips:
Have different class objects for the Type javax/El/expressionfactory used in the signature

 

Detailed error:

Exception 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/onduty/wfmanage_jsp, and the class
Loader (instance of org/Apache/Catalina/loader/standardclassloader)
Resolved class, javax/servlet/JSP/jspapplicationcontext, have different
Class objects for the Type javax/El/expressionfactory used in
Signature
Org. Apache. Jasper. servlet. jspservlet. Service (jspservlet. Java: 275)
Javax. servlet. http. httpservlet. Service (httpservlet. Java: 717)

 

Root Cause 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/onduty/wfmanage_jsp, and the class
Loader (instance of org/Apache/Catalina/loader/standardclassloader)
Resolved class, javax/servlet/JSP/jspapplicationcontext, have different
Class objects for the Type javax/El/expressionfactory used in
Signature
Org. Apache. jsp. onduty. wfmanage_jsp. _ jspinit (wfmanage_jsp.java: 27)
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)

 

The reason is that the three jar packages (juel. jar, WEB-INF,
Juel-impl.jar) and tomcat6 lib jar package (el-api.jar) conflict solution: Method 1: change to tomcat5.5
No problem at all. Method 2: Set juel. jar, juel-engine.jar,
Juel-impl.jar of these three packages to the Tomcat 6 Lib, and delete the original el-api.jar, remember to put the WEB-INF/lib in
Juel. jar, juel-engine.jar, juel-impl.jar Delete. Otherwise, conflict is still required.

Related Article

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.