[ 
https://issues.apache.org/jira/browse/FLINK-39290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhu Zhu closed FLINK-39290.
---------------------------
    Fix Version/s: 2.3.0
       Resolution: Fixed

15fe31b4a53217e15bcb84deaf89e37e4f2432a6

> Doc generation fails with ExceptionInfo name conflict
> -----------------------------------------------------
>
>                 Key: FLINK-39290
>                 URL: https://issues.apache.org/jira/browse/FLINK-39290
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Yi Zhang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.3.0
>
>
> The command `./mvnw package -Dgenerate-rest-docs -pl flink-docs -am -nsu 
> -DskipTests` fails with the following exception:
> main:
>      [java] Exception in thread "main" java.lang.IllegalStateException: 
> Detected name clash for model name 'ExceptionInfo'.
>      [java]     Classes:
>      [java]             - 
> org.apache.flink.runtime.rest.messages.JobExceptionsInfoWithHistory.ExceptionInfo
>      [java]             - 
> org.apache.flink.runtime.rest.messages.ApplicationExceptionsInfoWithHistory.ExceptionInfo
>      [java]     Either rename the classes or annotate them with 
> 'io.swagger.v3.oas.models.media.Schema' and set a unique 'name'.



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

Reply via email to