Resource bundle not included in native image

This commit is contained in:
Duncan Casteleyn 2023-01-02 22:54:46 +01:00 committed by Dave Syer
parent 2ceb8c16fd
commit cc4667122d

View file

@ -24,6 +24,8 @@ public class PetClinicRuntimeHints implements RuntimeHintsRegistrar {
@Override
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
hints.resources().registerPattern("db/*"); // https://github.com/spring-projects/spring-boot/issues/32654
hints.resources().registerPattern("messages/*");
hints.resources().registerPattern("META-INF/resources/webjars/*");
}
}