8 Replies Latest reply on Sep 8, 2008 6:14 AM by Ilya Shaikovsky

    java.lang.NoSuchMethodError in a4j:form

    Arjen Smedes Newbie

      Hi,

      I'm using JDK1.6, myfaces 1.2.2. Getting this error (my helloworld with ajax4jsf) when using

      <a4j:form>

      </a4j:form>

      No code in the form body whatsoever:


      java.lang.NoSuchMethodError: javax.faces.render.ResponseStateManager.getState(Ljavax/faces/context/FacesContext;Ljava/lang/String;)Ljava/lang/Object;
      org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:295)
      org.ajax4jsf.framework.ajax.AjaxStateManager.restoreView(AjaxStateManager.java:83)
      org.ajax4jsf.framework.ajax.AjaxStateManager.restoreView(AjaxStateManager.java:83)
      org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:505)
      org.ajax4jsf.framework.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:116)
      org.ajax4jsf.framework.ajax.AjaxViewHandler.restoreView(AjaxViewHandler.java:147)
      org.ajax4jsf.framework.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:116)