Description
With JDK 11: Compilation failed because package com.sun.jndi.ldap is not visible.
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project hadoop-common: Compilation failure /C:/Users/umgangum/Work/hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/LdapGroupsMapping.java:[545,23] package com.sun.jndi.ldap is not visible (package com.sun.jndi.ldap is declared in module java.naming, which does not export it)
Attachments
Attachments
Issue Links
- breaks
-
HADOOP-16299 [JDK 11] Build fails without specifying -Djavac.version=11
- Resolved
- relates to
-
HADOOP-15950 Failover for LdapGroupsMapping
- Resolved