8 Replies Latest reply on Feb 26, 2009 11:18 AM by zwz mycoy

    ClassNotFoundException  in Ajax4jsf using JSeam2.1.1GA

    zwz mycoy Newbie

      Hi,everybody:
      I'm studying jseam and trying to setup a demo of ajax4jsf.
      But i get an exception: java.lang.ClassNotFoundException: org.jboss.seam.ui.facelet.SeamFaceletViewHandler.

      The SeamFaceletViewHandler is configured in web.xml :
      <context-param>
      <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
      <param-value>
      org.jboss.seam.ui.facelet.SeamFaceletViewHandler
      </param-value>
      </context-param>

      I have included the jboss-seam-ui.jar into the .war package. But i have found that the "SeamFaceletViewHandler" isn't contained in the jboss-seam-ui.jar file in JSeam2.1.1 , it can only be found in jboss-seam-ui.jar file in JSeam1.2. So the exception is obvious.

      So, if i want to use ajax4jsf with JSeam2.1.1 , what should i do to configure the web.xml ??
      I'm using jboss AS 5.0.0GA.
      Thanks.


      this is part of my ant file:




































































      the ajax4jsf.jar is from the demo application, i'm not sure which edition it is.