You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Muralidhar Basani (Jira)" <ji...@apache.org> on 2026/04/28 15:38:00 UTC

[jira] [Comment Edited] (KAFKA-20542) Unable to generate javadoc

    [ https://issues.apache.org/jira/browse/KAFKA-20542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18076892#comment-18076892 ] 

Muralidhar Basani edited comment on KAFKA-20542 at 4/28/26 3:37 PM:
--------------------------------------------------------------------

After gradle upgrade to 9.4.1, we ran into this issue.

Your claude suggestion uses runtime classpath which is in deviation to what we had previously imo. I had to refine the prompt abit to get closer to what we had previously in 4.2. 

I have this pr [https://github.com/apache/kafka/pull/22172,] pls take a look.


was (Author: muralibasani):
After gradle upgrade to 9.4.1, we ran into this issue.

Your claude suggestion uses runtime classpath which is in deviation to what we had previously. I had to refine the prompt abit to get closer to what we had previously in 4.2. 

I have this pr [https://github.com/apache/kafka/pull/22172,] pls take a look.

> Unable to generate javadoc
> --------------------------
>
>                 Key: KAFKA-20542
>                 URL: https://issues.apache.org/jira/browse/KAFKA-20542
>             Project: Kafka
>          Issue Type: Bug
>          Components: docs
>    Affects Versions: 4.3.0
>            Reporter: Mickael Maison
>            Priority: Major
>
> When trying to generate the javadoc, as per https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34840886#ReleaseProcess-Websiteupdateprocess, I get the following error:
> {noformat}
> ./gradlew aggregatedJavadoc
> > Configure project :
> Starting build with version 4.3.0 (commit id 2b66299c) using Gradle 9.2.1, Java 17 and Scala 2.13.18
> Build properties: ignoreFailures=false, maxParallelForks=12, maxScalacThreads=8, maxTestRetries=0
> > Task :aggregatedJavadoc FAILED
> [Incubating] Problems report is available at: file:///Users/mickael/github/kafka/build/reports/problems/problems-report.html
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':aggregatedJavadoc'.
> > Resolution of the configuration ':connect:compileClasspath' was attempted without an exclusive lock. This is unsafe and not allowed.
> * Try:
> > For more information, please refer to https://docs.gradle.org/9.2.1/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors in the Gradle documentation.
> > Run with --stacktrace option to get the stack trace.
> > Run with --info or --debug option to get more log output.
> > Get more help at https://help.gradle.org.
> Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
> You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
> For more on this, please refer to https://docs.gradle.org/9.2.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
> BUILD FAILED in 1s
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)