1 Reply Latest reply on Aug 20, 2007 5:35 PM by pmuir

    JBoss EL

    magbyr

      Hello.

      Hope this is the right place to post (seems like jboss el is part of the seam project).

      I would like to use JBoss EL as a standalone EL provider. Is this possible? I'm using Tomcat 6, JSF 1.2 and Facelets. I've tried putting the el jars in /lib folder, but I'm getting this error:

      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/DefaultFacesInitializer, 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

      Can't find much information about this on the net.

      ---

        • 1. Re: JBoss EL
          pmuir

          It should be fine to use JBoss EL outside Seam (it may someday be a standalone project). You only need to swap out el-ri.jar for jboss-el.jar. You can use the standard el-api.jar.