I got this error while deploying the WAR in Tomcat 7. I have carried out the development using JDeveloper 11.
"java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.addELResolver(Ljavax/el/ELResolver;)V" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, com/sun/faces/config/ConfigureListener, 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 p.JspApplicationContext.addELResolver(Ljavax/el/ELResolver;)V used in the signature"
I have googled for the answers and have found answers, but nothing seems to work for my problem. I understand that it is something to do with the JARs that I have in my /WEB-INF/lib, but I don't know which causes the error.
These are the JARs I have in /WEB-INF/lib:
adf-controller-api.jaradf-controller-rt-common.jaradf-controller-security.jaradf-controller.jaradf-dt-at-rt.jaradf-richclient-api-11.jaradf-richclient-impl-11.jaradf-share-base.jaradf-share-ca.jaradf-share-security.jaradf-share-support.jaradf-transactions-dt.jaradfdt_common.jaradflibfilter.jaradflogginghandler.jaradfm.jaradfmweb.jaradfsharembean.jarcache.jarcommons-el.jardb-ca.jardvt-databindings.jardvt-faces.jardvt-facesbindings.jardvt-jclient.jardvt-trinidad.jardvt-utils.jarglassfish.el_2.2.0.jarglassfish.jsf_1.2.9.0.jarglassfish.jstl_1.2.0.1.jargroovy-all-1.6.3.jaridentitystore.jarinspect4.jarjavatools-nodeps.jarjavax.activation_1.1.0.0_1-1.jarjavax.ejb_3.0.1.jarjavax.jsf_1.0.0.0_1-2.jarjavax.jsp_1.1.0.0_2-1.jarjavax.servlet_1.0.0.0_2-5.jarjdev-cm.jarjewt4.jarjsp-el-api.jarojdbc14.jarojmisc.jaroracle-el.jaroracle-page-templates.jarshare.jartrinidad-api.jartrinidad-impl.jarwls.jsf.di.jarxmlparserv2.jar
How can I solve it?