• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic