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
org.graalvm.nativeimage.MissingReflectionRegistrationError: The program tried to reflectively read or write field
private volatile com.zaxxer.hikari.pool.HikariPool com.zaxxer.hikari.HikariDataSource.pool
This reflective operation seems to be done via DataSourcePoolMetricsAutoConfiguration$DataSourcePoolMetadataMetricsConfiguration$DataSourcePoolMetadataMeterBinder.bindTo -> MeterRegistryPostProcessor.lambda$applyBinders. In DataSourceBuilderRuntimeHints I see a reflective hint for HikariDataSource but not for its pool field.
It works fine with Spring Boot 3.5.3 or Spring Boot 4.0.0-SNAPSHOT with a RuntimeHintsRegistrar performing hints.reflection().registerType(HikariDataSource.class, builder -> builder.withField("pool"));, so maybe Spring Boot 4 should add this reflective hint.