0 Replies Latest reply on Feb 1, 2010 8:37 PM by Ling Ip

    org.ajax4jsf.webapp noclassdeffounderror

    Ling Ip Newbie
      I got an error org/ajax4jsf/webapp/cachecontent noclassdeffounderror.
      I am running JBoss 5.1, Seam 2.2 on Linux 64. The richfaces jar included is 3.3.1. This missing class is in 3.1.4. Should I use the old jar? This is my code. Don't know which tag calls this cachecontent class.

              <f:view>
                      <h:form>
                              <rich:panel header="Cognos Distribution List" style="width: 925px">
                                      <h:panelGrid columns="4">
                                              <h:graphicImage url="/images/logo_granite.jpg" />
                                              <h:outputText value="Welcome" style="size:20" />
                                              <h:outputText value="#{login.username}" style="size:20" />
                                              <rich:messages id="err" errorClass="errorMessage"
                                                      errorMarkerClass="errorMarker" infoClass="infoMessage"
                                                      globalOnly="true" showDetail="false" showSummary="true"
                                                      styleClass="error">
                                                      <f:facet name="errorMarker">
                                                              <h:graphicImage url="/images/ajax/error.gif" />
                                                      </f:facet>
                                                      <f:facet name="infoMarker">
                                                              <h:graphicImage url="/images/ajax/passed.gif" />
                                                      </f:facet>
                                              </rich:messages>
                                      </h:panelGrid>
                                      <rich:toolBar style="width: 900px">
                                              <rich:dropDownMenu>
                                                      <f:facet name="label">
                                                              <h:panelGroup>
                                                                      <h:outputText value="Skin" />
                                                              </h:panelGroup>
                                                      </f:facet>
                                                      <rich:menuItem value="Classic" action="#{skinBean.setSkinClassic}" />
                                                      <rich:menuItem value="BlueSky" action="#{skinBean.setSkinBlueSky}" />
                                                      <rich:menuItem value="Emerald" action="#{skinBean.setSkinEmerald}" />
                                                      <rich:menuItem value="Cherry" action="#{skinBean.setSkinCherry}" />
                                                      <rich:menuItem value="Ruby" action="#{skinBean.setSkinRuby}" />
                                                      <rich:menuItem value="Marine" action="#{skinBean.setSkinMarine}" />
                                              </rich:dropDownMenu>
                                              <rich:dropDownMenu>
                                                      <f:facet name="label">
                                                              <h:panelGroup>
                                                                      <h:outputText value="Form" />
                                                              </h:panelGroup>
                                                      </f:facet>
                                                      <rich:menuItem value="Refresh" action="#{distListBean.clearLists}"
                                                              icon="/images/icons/reload.gif" />
                                                      <rich:menuItem value="Delegates"
                                                              action="#{distListBean.delegates}" />
                                                      <rich:menuItem value="Log Off" action="#{distListBean.logoff}" />
                                              </rich:dropDownMenu>
                                              <a4j:commandLink id="newrowlink" ajaxSingle="true"
                                                      action="#{distListBean.newList}" reRender="table">
                                                      <h:graphicImage value="/images/icons/ico_new_group.gif" />
                                              </a4j:commandLink>
                                              <rich:toolTip for="newrowlink" value="New Row" />
                                              <a4j:commandLink ajaxSingle="true" id="savepagelink"
                                                      reRender="table" action="#{distListBean.saveAll}">
                                                      <h:graphicImage value="/images/icons/save_all.gif" />
                                              </a4j:commandLink>
                                              <rich:toolTip for="savepagelink" value="Save All" />
                                      </rich:toolBar>
                                      <a4j:region>
                                              <rich:extendedDataTable id="table" value="#{distListBean.lists}"
                                                      rows="10" sortMode="single" var="row" reRender="datascroller"
                                                      width="900">
                                                      <rich:column sortable="true" sortBy="#{row.listNumber}"
                                                              filterBy="#{row.listNumber}" filterEvent="onblur"
                                                              label="List Number" width="75">
                                                              <f:facet name="header">
                                                                      <h:outputText value="List #" />
                                                              </f:facet>
                                                              <h:outputText value="#{row.listNumber}" />
                                                      </rich:column>
                                                      <rich:column sortable="true" sortBy="#{row.owner}"
                                                              filterBy="#{row.owner}" filterEvent="onblur" label="Owner"
                                                              width="100">
                                                              <f:facet name="header">
                                                                      <h:outputText value="Owner" />
                                                              </f:facet>
                                                              <h:outputText value="#{row.owner}" />
                                                      </rich:column>
                                                      <rich:column sortable="true" sortBy="#{row.ownerName}"
                                                              filterBy="#{row.ownerName}" filterEvent="onblur"
                                                              label="OwnerName" width="150">
                                                              <f:facet name="header">
                                                                      <h:outputText value="Owner Name" />
                                                              </f:facet>
                                                              <h:outputText value="#{row.ownerName}" />
                                                      </rich:column>
                                                      <rich:column sortable="true" sortBy="#{row.listName}"
                                                              filterBy="#{row.listName}" filterEvent="onblur" label="List Name"
                                                              width="200">
                                                              <f:facet name="header">
                                                                      <h:outputText value="List Name" />
                                                              </f:facet>
                                                              <h:inputText value="#{row.listName}">
                                                                      <a4j:support event="onblur" />
                                                              </h:inputText>
                                                      </rich:column>
                                                      <rich:column sortable="true" sortBy="#{row.keyDesc}"
                                                              filterBy="#{row.keyDesc}" filterEvent="onblur" label="Key Desc"
                                                              width="200">
                                                              <f:facet name="header">
                                                                      <h:outputText value="Key Desc" />
                                                              </f:facet>
                                                              <h:inputText value="#{row.keyDesc}">
                                                                      <a4j:support event="onblur" />
                                                              </h:inputText>
                                                      </rich:column>
                                                      <rich:column sortable="true" sortBy="#{row.keyType}"
                                                              filterBy="#{row.keyType}" filterEvent="onblur" label="Key Type"
                                                              title="char=0, interger=1" width="75">
                                                              <f:facet name="header">
                                                                      <h:outputText value="Key Type" />
                                                              </f:facet>
                                                              <h:inputText value="#{row.keyType}">
                                                                      <a4j:support event="onblur" />
                                                              </h:inputText>
                                                      </rich:column>
                                                      <rich:column label="Actions" width="100" style="bgcolor: white">
                                                              <f:facet name="header">
                                                                      <h:outputText value="Actions" />
                                                              </f:facet>
                                                              <a4j:commandLink ajaxSingle="true" id="savelink" reRender="table"
                                                                      action="#{distListBean.save}">
                                                                      <h:graphicImage value="/images/icons/save.gif" />
                                                                      <a4j:actionparam name="pksave" value="#{row.listNumber}"
                                                                              assignTo="#{distListBean.listNumber}" />
                                                              </a4j:commandLink>
                                                              <rich:toolTip for="savelink" value="Save" />
                                                              <a4j:commandLink ajaxSingle="true" id="deletelink"
                                                                      reRender="table" action="#{distListBean.delete}">
                                                                      <h:graphicImage value="/images/icons/delete.gif" />
                                                                      <a4j:actionparam name="pkdelete" value="#{row.listNumber}"
                                                                              assignTo="#{distListBean.listNumber}" />
                                                              </a4j:commandLink>
                                                              <rich:toolTip for="deletelink" value="Delete" />
                                                              <a4j:commandLink ajaxSingle="true" id="memberslink"
                                                                      action="#{distListBean.members}">
                                                                      <h:graphicImage value="/images/icons/open.gif" />
                                                                      <a4j:actionparam name="pkmembers" value="#{row.listNumber}"
                                                                              assignTo="#{distListBean.listNumber}" />
                                                                      <a4j:actionparam name="pkdelete" value="#{row.owner}"
                                                                              assignTo="#{distListBean.owner}" />
                                                              </a4j:commandLink>
                                                              <rich:toolTip for="memberslink" value="Members" />
                                                      </rich:column>
                                                      <f:facet name="footer">
                                                              <rich:datascroller id="datascroller" />
                                                      </f:facet>
                                              </rich:extendedDataTable>
                                      </a4j:region>
                              </rich:panel>
                      </h:form>
              </f:view>