Skip to content

java.lang.ClassNotFoundException: kotlin.reflect.full.KClasses when upgrade from 2.7.0 to 2.8.0 #2834

Closed
@limo520

Description

@limo520

Describe the bug

When a project depends kotlin-stdlib without kotlin-reflect, upgrading springdoc-openapi-starter-webmvc-ui from 2.7.0 to 2.8.0 will result in java.lang.ClassNotFoundException: kotlin.reflect.full.KClasses

To Reproduce

  1. A simple boot project depends kotlin-stdlib without kotlin-reflect
  2. upgrading springdoc-openapi-starter-webmvc-ui from 2.7.0 to 2.8.0
  3. Visit /swagger-ui/index.html and the exception happened

Expected behavior
No exception is expected.

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