0 Replies Latest reply on Sep 15, 2008 7:46 AM by cprietom

    Cant instantiate class: org.jboss.seam.el.SeamELResolver

    cprietom

      Hi,

      I'm facing a really strange problem when deploying a clean new project created with "File -> New -> Seam Web Project" in JBoss 4.2.3 GA with Eclipse Ganymede, jdk 1.5.0_16, jboss-seam-2.0.2.SP1, and the latest nightly build of JBoss Tools on Linux (JBossTools-200809130224-nightly-ALL-linux-gtk).

      To begin with, when I select "Add and Remove projects" on the JBoss Server View and I add the PruebaSeam-ds.xml and the PruebaSeam, only the last one is published in the "deploy" folder of the JBoss server. So I add PruebaSeam-ds.xml manually to the folder and run JBoss, but it throws a strange exception:

      09:19:25,532 ERROR [jsf] Cant instantiate class: org.jboss.seam.el.SeamELResolver.
      java.lang.NullPointerException
      at com.sun.faces.util.Util.createInstance(Util.java:571)
      at com.sun.faces.util.Util.createInstance(Util.java:543)
      ...
      09:19:27,080 ERROR [Digester] End event threw exception
      java.lang.IllegalArgumentException: argument type mismatch
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      ...
      09:19:27,313 ERROR [[/PruebaSeam]] Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
      javax.faces.FacesException: org.ajax4jsf.renderkit.ChameleonRenderKitFactory
      at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:574)
      ...
      Caused by: java.lang.IllegalArgumentException: argument type mismatch
      at org.apache.commons.digester.Digester.createSAXException(Digester.java:3181)

      Could it be some missing Jar?, some bad combination of versions of Jboss, seam and eclipse?

      Thanks in advance,
      Carlos.