How does Micronaut manage to run on GraalVM?
How can I make a Micronaut application that uses picocli run on GraalVM?
Picocli provides a module with a tool for generating a GraalVM reflection configuration file. The tool can be run or automatically as part of the build. The module’s README has usage instructions with code snippets for configuring Gradle and Maven to generate a file automatically as part of the build. Add the generated file to the option when running the tool.
What about other Third-Party Libraries?
I Get a “Class XXX is instantiated reflectively…” Exception. What do I do?
If you get an error such as:
For arrays this needs to use the Java JVM internal array representation. For example: