Please I need help
I have issues integrating seam and facelets to myfaces, spring and hibernate app. Config details and error below.
The combination Hibernate 3.4 + Spring 2.5.5 + Myfaces 1.2.5 was already working. And I included the jars:
Facelets 1.1.14: jsf-facelets.jar, el-api-1.0.jar, el-impl-1.0.jar
Seam 2.1.1: jboss-seam.jar, jboss-seam-ui.jar, persistence-api.jar, javaassist.jar
ERROR: Jan 15, 2009 11:35:31 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener
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, org/apache/myfaces/webapp/Jsp21FacesInitializer, 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/ELResolver used in the signature
Since tomcat 6 has el-api.jar I tried removing el-api and el-impl jars from facelets. and I still get that error. I tried replcing them with jboss-el still same error; also replaced with el-api jar shipped with seam and still got that error. If I remove el-api from tomcat lib I get a classNotFound exception.
I have spent a long time trying to figure it out. I would really appreciate your help.
Joined: Jan 15, 2009
never mind I needed to only keep el-api in tomcat but it was still bugging after I removed the el-api from my war because I in fact needed to clean and undeploy my war, shutdwon tomcat, nuke my temp directory etc so that ther wouldn't be any trace of el api in my war that conflicts with the one in tomcat.
subject: issues integrating seam2.1.1 and facelets 1.1.14 to myfaces 1.25, spring 2.5 and hibernate 3.4 app