Skip to content

Commit

Permalink
Resource bundle not included in native image
Browse files Browse the repository at this point in the history
  • Loading branch information
DuncanCasteleyn authored and dsyer committed Mar 10, 2023
1 parent 2ceb8c1 commit cc46671
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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/*");
}

}

0 comments on commit cc46671

Please sign in to comment.