Still trying to build a native image of my application.
Compiling is succesful now, but when I run it if get the following
java.lang.UnsatisfiedLinkError: no awt in java.library.path at org.graalvm.nativeimage.builder/com.oracle.svm.core.jdk.NativeLibrarySupport.loadLibraryRelative(NativeLibrarySupport.java:136) ~[na:na]
A bit lower in the stacktrace I see the following NoClassDefFoundError:
java.lang.NoClassDefFoundError: Could not initialize class javax.imageio.ImageIO at com.vaadin.flow.server.PwaRegistry.getBaseImage(PwaRegistry.java:404) ~[na:na] at com.vaadin.flow.server.PwaRegistry.initializeResources(PwaRegistry.java:128)
Is your application using vaadin-spring? Hints for supporting PWA image creation in native build has recently been added.
In that case what operating system are you using to run the native build?
A fix was already release in Flow 24.1.1 and another one will be released in the upcoming 24.1.5
Anyway, based on the error you posted, it may be an issue in Graal VM