gluonfx-maven-plugin
gluonfx-maven-plugin copied to clipboard
Native image locale problem
Hello,
Running the created native .exe throws this exception.
[Tue Oct 03 10:02:33 CEST 2023][INFO] [SUB] java.util.MissingResourceException: Can't find bundle for base name sun.util.resources.CurrencyNames, locale sv_SE [Tue Oct 03 10:02:33 CEST 2023][INFO] [SUB] at [email protected]/sun.util.resources.Bundles.throwMissingResourceException(Bundles.java:302) [Tue Oct 03 10:02:33 CEST 2023][INFO] [SUB] at [email protected]/sun.util.resources.Bundles.loadBundleOf(Bundles.java:147) [Tue Oct 03 10:02:33 CEST 2023][INFO] [SUB] at [email protected]/sun.util.resources.Bundles.of(Bundles.java:106) [Tue Oct 03 10:02:33 CEST 2023][INFO] [SUB] at [email protected]/sun.util.resources.LocaleData$1.run(LocaleData.java:186)
<nativeImageArgs>
...
<arg>-Duser.language=sv</arg>
<arg>-H:IncludeLocales=sv,en</arg>
...
</nativeImageArgs>
and of course do an agentrun