Get the latest tech news
Supporting org.apache.xml.security in graalVM
Supporting org.apache.xml.security in graalVM When working today at out european trusted lists feature $DAY_JOB we had an issue which was coming from org.apache.xml.security when trying to run our testsuite natively compiled with graalVM. java.util.MissingResourceException: Can't find bundle for base name org/apache/xml/security/resource/xmlsecurity locale en_USThis indicates that the required resource bundles are not available in the generated binary.
When working today at out european trusted lists feature $DAY_JOB we had an issue which was coming from org.apache.xml.security when trying to run our testsuite natively compiled with graalVM. So now the resourcbunldes are loaded, but it can't find any of the hashing algoritms we need, probably also being trimmed out of the native binary because they get instaniated with the usage of reflection. And we also need some additional types unrelated to hashing algortims See full config below to copy paste into your application
Or read this on Hacker News