You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
spring-cloud-starter-openfeign: 4.1.0
Unable to run native compiled application with FeignClients.
Caused by: org.graalvm.nativeimage.MissingReflectionRegistrationError: The program tried to reflectively invoke method public default feign.ResponseInterceptor$Chain feign.Capability.enrich(feign.ResponseInterceptor$Chain) without it being registered for runtime reflection. Add public default feign.ResponseInterceptor$Chain feign.Capability.enrich(feign.ResponseInterceptor$Chain) to the reflection metadata to solve this problem.
It works on 4.1.0-RC1.
Sample
Create a simple FeignClient and run native compiled executable.
Describe the bug
spring-cloud-starter-openfeign:
4.1.0
Unable to run native compiled application with FeignClients.
Caused by:
org.graalvm.nativeimage.MissingReflectionRegistrationError: The program tried to reflectively invoke method public default feign.ResponseInterceptor$Chain feign.Capability.enrich(feign.ResponseInterceptor$Chain) without it being registered for runtime reflection. Add public default feign.ResponseInterceptor$Chain feign.Capability.enrich(feign.ResponseInterceptor$Chain) to the reflection metadata to solve this problem.
It works on
4.1.0-RC1
.Sample
Create a simple FeignClient and run native compiled executable.
Dependencies versions
Workaround:
The text was updated successfully, but these errors were encountered: