Skip to content

springdoc 3.0 + boot 4.0 breaks native image support #3155

Description

@goafabric

Thx 4 providing Springdoc 3.0 so fast after boot 4.0
Unfortunately now native image support ist broken, this did not happen in the RC.

`Caused by: org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively read or write field 'public static java.lang.Object org.springdoc.core.providers.SpringWebProvider$$SpringCGLIB$$0.CGLIB$FACTORY_DATA'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:

{
"type": "org.springdoc.core.providers.SpringWebProvider$$SpringCGLIB$$0",
"fields": [
{
"name": "CGLIB$FACTORY_DATA"
}
]
}`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions