You can use this https://www.graalvm.org/latest/reference-manual/native-image/guides/configure-with-tracing-agent/ to generate configuration needs to compile reflections and more...