[
https://issues.apache.org/jira/browse/HBASE-29548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016689#comment-18016689
]
Istvan Toth commented on HBASE-29548:
-------------------------------------
The new ApacheDS tests require Junit 5
> NoSuchMethodError in TestLdapHttpServer and TestLdapHttpServer with Java 21
> ---------------------------------------------------------------------------
>
> Key: HBASE-29548
> URL: https://issues.apache.org/jira/browse/HBASE-29548
> Project: HBase
> Issue Type: Bug
> Components: test
> Reporter: 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)