Resource bundle not included in native image

This commit is contained in:
Duncan Casteleyn 2023-01-02 22:54:46 +01:00
parent e8e37b35c3
commit f5598b4fd6

View file

@ -24,6 +24,7 @@ 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/*");
}