Skip to content

GroupedOpenApi bean get's exception during context initialize #3204

@Schreuderjg

Description

@Schreuderjg

We use GroupedOpenApi to separate our endpoints in groups.

It all works nice on Java 21, Spring Boot 3, Kotlin 1.9.25. We use webmvc-ui springdoc starter 2.8.15.

Upgraded it to Spring Boot 4.01, Java 25 runtime, (kotlin version of spring boot 4, Kotlin compiles to Java 24),
springdoc webmvc-ui 3.0.1.

The error we get is: "Illegal factory instance for {bean name}".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions