2 Replies Latest reply on Feb 12, 2009 8:19 AM by Luke Twardowsky

    Problem with deploying application

    Luke Twardowsky Newbie

      I'm trying to deploy web application containing facelets 1.1.14, jsf 1.2 and spring 2.5 and I'm getting this mistake:

      09:34:44,119 ERROR [[/Projekt]] Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
      java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, com/sun/faces/config/ConfigureListener, and the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature
      at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1638) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:455)


      I have following libs in my project:

      com.springsource.org.jboss.el-2.0.0.GA.jar
      commons-logging.jar
      el-api-1.0.jar
      el-impl-1.0.jar
      glassfish.jsf_1.2.3.2.jar
      glassfish.jstl_1.2.0.1.jar
      javax.jsf_1.2.0.0.jar
      jsf-facelets.jar
      ognl-2.6.9.jar
      org.springframework.binding-2.0.5.RELEASE.jar
      org.springframework.faces-2.0.5.RELEASE.jar
      org.springframework.js-2.0.5.RELEASE.jar
      org.springframework.webflow-2.0.5.RELEASE.jar
      spring.jar
      spring-webmvc.jar


      Thanks for all responses.