Joined: 12/Oct/2009 00:00:00
I`m trying to deploy outputProgress-multiple-tutorial sample and what seams to be easy becomes a hard work between me, MyFaces impl, IceFaces, Facelets, .jspx, but in the end I won :P.
I have adapted the original sample to use Maven and after add icefaces-facelets-1.8.1.jar at pom.xml file Maven complains about el-api-1.1.11.jar. "Missing indirectly referenced artifact javax.el:el-api:jar:1.0:compile". So I added this dependency and Maven could successfully build the project.war.
The problem is, during Tomcat6.0.20 startup it throws this exception:
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
After reading a few tutorials and a lot of tests, I discovered that removing the el-api-1.1.11.jar problem is over.
Right now I just want to know if icefaces-facelets-1.8.1.jar depends of el-api-1.1.11.jar? Or Maven is crazy? Should I change icefaces-facelets version? Which one?
THANKS A LOT