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
Binding to target [Bindable@517a5ddb type = java.util.List<DemoContext$Exclude>, value = 'provided', annotations = array<Annotation>[[empty]]] failed:
Property: demo.context.exclude[0].httpstatus
Value: "2xx"
Origin: class path resource [application.yml] - 31:21
Reason: The elements [demo.context.exclude[0].httpstatus] were left unbound.
Action:
Update your application's configuration
Describe GraalVM and your environment
spring boot version: 3.1.0
graalvm plugin version: id("org.graalvm.buildtools.native") version "0.9.20"
graalvm version: 22.3.r17
Describe the issue
It worked fine on the jvm, but when I run it on the native image I get an error.
But if I remove the Pattern annotation, it works fine.
Why is this issue occurring?
How can I solve this problem?
Steps to reproduce the issue
DemoContext.kt
application.yml
nativeRun result
Describe GraalVM and your environment
spring boot version: 3.1.0
graalvm plugin version: id("org.graalvm.buildtools.native") version "0.9.20"
graalvm version: 22.3.r17
More details
spring-projects/spring-boot#37101
discussed in the above issue
@sdeleuze said it looks like a graalvm bug.
The text was updated successfully, but these errors were encountered: