[ https://issues.apache.org/jira/browse/HBASE-29548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Istvan Toth updated HBASE-29548: -------------------------------- Summary: Update ApacheDS to 2.0.0.AM27 and ldap-api to 2.1.7 (was: NoSuchMethodError in LDAP tests with Java 21) > Update ApacheDS to 2.0.0.AM27 and ldap-api to 2.1.7 > --------------------------------------------------- > > Key: HBASE-29548 > URL: https://issues.apache.org/jira/browse/HBASE-29548 > Project: HBase > Issue Type: Bug > Components: test > Reporter: Istvan Toth > Assignee: Istvan Toth > Priority: Major > Labels: jdk21 > > This is coming deep from the Apache Directory Server. > Hopefully we can just update to newer version with Java 21 support. > {noformat} > [ERROR] org.apache.hadoop.hbase.http.TestLdapHttpServer -- Time elapsed: > 0.002 s <<< ERROR! > java.lang.NoSuchMethodError: 'void > sun.security.x509.X509CertInfo.set(java.lang.String, java.lang.Object)' > at > org.apache.directory.server.core.security.CertificateUtil.setInfo(CertificateUtil.java:96) > at > org.apache.directory.server.core.security.CertificateUtil.generateSelfSignedCertificate(CertificateUtil.java:194) > at > org.apache.directory.server.core.security.CertificateUtil.createTempKeyStore(CertificateUtil.java:337) > at > org.apache.directory.server.factory.ServerAnnotationProcessor.instantiateLdapServer(ServerAnnotationProcessor.java:158) > at > org.apache.directory.server.factory.ServerAnnotationProcessor.createLdapServer(ServerAnnotationProcessor.java:318) > at > org.apache.directory.server.factory.ServerAnnotationProcessor.createLdapServer(ServerAnnotationProcessor.java:351) > at > org.apache.directory.server.core.integ.CreateLdapServerRule$2.evaluate(CreateLdapServerRule.java:112) > at > org.apache.directory.server.core.integ.CreateDsRule$2.evaluate(CreateDsRule.java:124) > at org.junit.rules.RunRules.evaluate(RunRules.java:20) > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)