Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
3.5.1
-
None
Description
When using JDK 11 building the JavaDocs throws an error both when running locally as well as when running in Docker.
An abbreviated error example is shown below:
{{}}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.3.1:javadoc (aggregate-full-in-default-lifecycle) on project tinkerpop: An error has occurred in Javadoc report generation: [ERROR] Exit code: 1 - /home/ubuntu/bechbd/tinkerpop/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/GremlinBaseVisitor.java:21: error: package org.antlr.v4.runtime.tree does not exist [ERROR] import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor; [ERROR] ^ [ERROR] /home/ubuntu/bechbd/tinkerpop/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/GremlinBaseVisitor.java:22: error: package org.antlr.v4.runtime.tree does not exist [ERROR] import org.antlr.v4.runtime.tree.ParseTree; [ERROR] ^ [ERROR] /home/ubuntu/bechbd/tinkerpop/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/GremlinBaseVisitor.java:32: error: cannot find symbol [ERROR] public class GremlinBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements GremlinVisitor<T> { [ERROR] ^ [ERROR] symbol: class AbstractParseTreeVisitor [ERROR] /home/ubuntu/bechbd/tinkerpop/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/GremlinBaseVisitor.java:32: error: cannot find symbol [ERROR] public class GremlinBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements GremlinVisitor<T> { [ERROR] ^ [ERROR] symbol: class GremlinVisitor [ERROR] /home/ubuntu/bechbd/tinkerpop/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/Traversal.java:21: error: package org.apache.commons.configuration2 does not exist [ERROR] import org.apache.commons.configuration2.Configuration; [ERROR] ^ [ERROR] /home/ubuntu/bechbd/tinkerpop/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/TraversalTerminalMethodVisitor.java:39: error: package GremlinParser does not exist [ERROR] public Object visitTraversalTerminalMethod(final GremlinParser.TraversalTerminalMethodContext ctx) { [ERROR]