Skip to content

java.lang.ClassNotFoundException: kotlin.reflect.full.KClasses when upgrade from 2.8.9 to 2.8.10 #3064

@dafriz

Description

@dafriz

Describe the bug

  • After updating from to 2.8.9 to 2.8.10 we get a java.lang.ClassNotFoundException: kotlin.reflect.full.KClasses exception when trying to access /v3/api-docs

To Reproduce
Update to

  • Spring Boot 3.5.4 -> 3.5.5
  • springdoc-openapi-starter-webmvc-ui 2.8.9 -> 2.8.10

Additional context
Similar to #2834 which was resolved with this commit ecb3782 . I wonder if that solution has been broken with the recent release. ( possibly 1a23016 ).

Work Around
Can set springdoc.enable-kotlin=false as suggested in 2834.

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