java.lang.NoSuchMethodError. join on weblogic

  • Ciju George

    Ciju George - 2010-08-17

    Hello everyone,

    I tried to deploy 'ajaxtags-demo-1.5.1.war' on weblogic 10.3 server i am getting a
    java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.join(Ljava/util/Collection;Ljava/lang/String;)Ljava/lang/String;

    the same is working good on tomcat server

    Here is the stack trace

    java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.join(Ljava/util/Collection;Ljava/lang/String;)Ljava/lang/String;
    at net.sourceforge.ajaxtags.tags.OptionsBuilder.toString(
    at net.sourceforge.ajaxtags.tags.AjaxTabPageTag.toString(
    at net.sourceforge.ajaxtags.tags.AjaxTabPanelTag.addPage(
    at net.sourceforge.ajaxtags.tags.AjaxTabPageTag.doEndTag(
    at jsp_servlet.__index._jsp__tag1(
    at jsp_servlet.__index._jsp__tag0(
    at jsp_servlet.__index._jspService(
    at weblogic.servlet.jsp.JspBase.service(
    at weblogic.servlet.internal.StubSecurityHelper$
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(
    at weblogic.servlet.internal.ServletStubImpl.execute(
    at weblogic.servlet.internal.ServletStubImpl.execute(
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(
    at weblogic.servlet.internal.WebAppServletContext$
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(
    at weblogic.servlet.internal.WebAppServletContext.execute(

    Please guide me at this situation

    Thanks in advance,
    Ciju George

  • Victor Homyakov

    Victor Homyakov - 2010-08-17

    1. Use search - here are already two topics about this.
    2. Check the version of apache library "commons-lang.jar" in classpath of your server - it should be 2.3 or above (because StringUtils.join was first implemented in commons-lang version 2.3).
    3. Try to replace found commons-lang*.jar with newer one.

  • Ciju George

    Ciju George - 2010-08-18

    Thank you for your response.
    i have seeen the topics but it didn't help me.
    i said i deployed 'ajaxtags-demo-1.5.1.war' downloaded from on to both tomcat and weblogic 10.3 servers.
    'ajaxtags-demo is wrking fine on tomcat server but on weblogic server its throwing the servlet exception

    java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.join(Ljava/util/Collection;Ljava/lang/String;)

    i searched the exploded directory and found commons-lang-2.3.jar in it. I tried including commons-lang-2.5.jar also but the same exception.

    Note:I deployed the war file downloaded form directly on the servers without any modification. this war is packed with commons-lang-2.3.jar , working fine on tomcat server but not on weblogic. I checked the classpath whether more than 1 commons-lang included in the classpath but not.

    Please Help,
    Ciju George.

  • Ciju George

    Ciju George - 2010-08-18

    It worked,  Thousand Thanks Victor

    Ciju George


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks