[
https://issues.apache.org/jira/browse/FLINK-35154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17864199#comment-17864199
]
Samrat Deb commented on FLINK-35154:
------------------------------------
{code:java}
[ERROR]
/Users/samrat/Code/oss/flink/flink-core/src/main/java/org/apache/flink/api/connector/sink2/Sink.java:116:
warning - Tag @link: reference not found:
SerializationSchema.InitializationContext
[ERROR] javadoc: error - com.sun.tools.javadoc.ClassDocImpl cannot be cast to
com.sun.javadoc.AnnotationTypeDoc
[ERROR]
[ERROR] Command line was:
/Users/samrat/.sdkman/candidates/java/8.0.412.fx-zulu/bin/javadoc
-Xdoclint:none @options @packages @argfile
[ERROR]
[ERROR] Refer to the generated Javadoc files in
'/Users/samrat/Code/oss/flink/target/site/apidocs' dir.
[ERROR] {code}
> Javadoc aggregate fails
> -----------------------
>
> Key: FLINK-35154
> URL: https://issues.apache.org/jira/browse/FLINK-35154
> Project: Flink
> Issue Type: Bug
> Reporter: Dmitriy Linevich
> Priority: Minor
> Labels: pull-request-available
>
> Javadoc plugin fails with error. Using
> {code:java}
> javadoc:aggregate{code}
> ERROR:
> {code:java}
> [WARNING] The requested profile "include-hadoop" could not be activated
> because it does not exist.
> [WARNING] The requested profile "arm" could not be activated because it does
> not exist.
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:aggregate (default-cli)
> on project flink-parent: An error has occurred in JavaDocs report generation:
> [ERROR] Exit code: 1 -
> /{flinkProjectDir}/flink-end-to-end-tests/flink-confluent-schema-registry/target/generated-sources/example/avro/EventType.java:8:
> error: type GenericEnumSymbol does not take parameters
> [ERROR] public enum EventType implements
> org.apache.avro.generic.GenericEnumSymbol<EventType> {
> [ERROR] {code}
>
> For our flink 1.17 ERROR
> {code:java}
> [ERROR]
> /{flinkProjectDir}/flink-connectors/flink-sql-connector-hive-3.1.3/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java:21:
> error: cannot find symbol
> [ERROR] import static
> org.apache.hadoop.hive.metastore.Warehouse.DEFAULT_DATABASE_NAME;
> [ERROR] ^
> [ERROR] symbol: static DEFAULT_DATABASE_NAME
> [ERROR] location: class{code}
>
> Need to increase version of javadoc plugin from 2.9.1 to 2.10.4 (In current
> version exists bug same with
> [this|https://github.com/checkstyle/checkstyle/issues/291])
--
This message was sent by Atlassian Jira
(v8.20.10#820010)