java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.replaceEach(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;

blogspot.com | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    LDAP Active Directory Authentication in Java Spring Security Example Tutorial

    blogspot.com | 1 year ago
    java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.replaceEach(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
  2. 0

    LDAP Active Directory Authentication in Java Spring Security Example Tutorial

    blogspot.com | 6 months ago
    java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.replaceEach(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.commons.lang.StringUtils.replaceEach(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;

      at org.springframework.ldap.core.DistinguishedName.unmangleCompositeName()
    2. spring-ldap-core
      DistinguishedName.<init>
      1. org.springframework.ldap.core.DistinguishedName.unmangleCompositeName(DistinguishedName.java:250)[spring-ldap-core-1.3.2.RELEASE.jar:1.3.2.RELEASE]
      2. org.springframework.ldap.core.DistinguishedName.parse(DistinguishedName.java:217)[spring-ldap-core-1.3.2.RELEASE.jar:1.3.2.RELEASE]
      3. org.springframework.ldap.core.DistinguishedName.<init>(DistinguishedName.java:176)[spring-ldap-core-1.3.2.RELEASE.jar:1.3.2.RELEASE]
      3 frames
    3. spring-security-ldap
      AbstractLdapAuthenticationProvider.authenticate
      1. org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntryInternal(SpringSecurityLdapTemplate.java:208)[spring-security-ldap-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      2. org.springframework.security.ldap.authentication.ad.ActiveDirectoryLdapAuthenticationProvider.searchForUser(ActiveDirectoryLdapAuthenticationProvider.java:285)[spring-security-ldap-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      3. org.springframework.security.ldap.authentication.ad.ActiveDirectoryLdapAuthenticationProvider.doAuthentication(ActiveDirectoryLdapAuthenticationProvider.java:130)[spring-security-ldap-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      4. org.springframework.security.ldap.authentication.AbstractLdapAuthenticationProvider.authenticate(AbstractLdapAuthenticationProvider.java:61)[spring-security-ldap-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      4 frames
    4. spring-security-core
      ProviderManager.authenticate
      1. org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156)[spring-security-core-3.2.0.RELEASE.jar:3.2.0.RELEASE]
      1 frame