We do classpath scanning at runtime and that doesn't work in a native image. The error is a bit strange, see https://github.com/oracle/graal/issues/5126
Comment From: snicoll
This is happening with the demo sample as well (on Linux) https://github.com/snicoll/demo-aot-native/issues/2