4 Replies Latest reply on May 20, 2008 6:26 AM by Aleksej Yanul

    StringBuffer method not found error

    Ben Maisano Newbie

      I'm currently setup with the following for a development platform:
      JRE 1.4.2
      JSF 1.1 (Suns RI)
      IBM WebSphere
      RichFaces 3.1.4.GA (Not sure what the GA means)

      I'm using a drap and drop component and getting this error:
      SRVE0026E: [Servlet Error]-[Faces Servlet]: java.lang.NoSuchMethodError: java.lang.StringBuffer: method (Ljava/lang/CharSequence;)V not found
      at org.richfaces.renderkit.CompositeRenderer.escapeHtmlEntities(CompositeRenderer.java:244)
      at org.richfaces.renderkit.html.DragSupportRenderer.encodeEnd(DragSupportRenderer.java:109)
      at javax.faces.component.UIComponentBase.encodeEnd

      (Let me know if full stack trace is needed)

      Searching the internet did not help, except I did find this change in Jan of 08 for this "escapeHtmlEntities" method in the richfaces library

      It seems its using a StringBuffer method new to JRE 1.5, but I believe RichFaces 3.1.x is for JRE 1.4.2 right? Can someone help explain this to me, thanks.

      (Can post JSP code if necessary, here is snipplet)
      <rich:dropSupport id="dropZoneAdminGroup" acceptedTypes="user"
      dropValue="user" dropListener="#{coolMB.processDrop}"
      reRender="usersDT, adminGroupDT">