wood burning stoves 2.0*
The moose likes Other Application Frameworks and the fly likes issues integrating seam2.1.1 and facelets 1.1.14 to myfaces 1.25, spring 2.5 and hibernate 3.4 app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "issues integrating seam2.1.1 and facelets 1.1.14 to myfaces 1.25, spring 2.5 and hibernate 3.4 app" Watch "issues integrating seam2.1.1 and facelets 1.1.14 to myfaces 1.25, spring 2.5 and hibernate 3.4 app" New topic
Author

issues integrating seam2.1.1 and facelets 1.1.14 to myfaces 1.25, spring 2.5 and hibernate 3.4 app

odomitchi anikpo
Greenhorn

Joined: Jan 15, 2009
Posts: 5
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


FACES-CONFIG.XML





WEB.XML

COMPONENETS.XML


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.
Thanks
mitchi
odomitchi anikpo
Greenhorn

Joined: Jan 15, 2009
Posts: 5
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
 
Similar Threads
Not able to access Session Bean in Seam Framework
Spring & Seam integration problem
jsf and jstl
Problem with richfaces custom skin after ajax rendering using a4j:support
JSF 2 : hibernate session problem in manadged beans