When trying to build any library, framework (e.g. Spring Data for Apache Geode (SDG)) or application with Apache Geode on Java 17, Javadoc errors occur.
As it turns out, in Java 17, the Javadoc tool now uses Java modules. Javadoc is started with:
geode-core-1.14.0.jar ships org.apache.geode.lang.AttachAPINotFoundException and geode-common-1.14.0.jar ships org.apache.geode.lang.Identifiable. Due to this split-package arrangement, Javadoc isn’t discovering Identifiable because it has found the package org.apache.geode.lang in geode-core-1.14.0.jar.
The best course of action is to make sure all org.apache.geode.lang sub-packages and class are in 1 JAR (e.g. geode-common) or the other (i.e. geode-core).