jni_onload_awt error when combining with Gluon MobileApplication #15
Description
As a starting point, I get this example to work: https://github.com/gluonhq/gluon-samples/tree/master/HelloGluon
Then, I added SpringContext with 'ignite-spring' as the dependency. I get a runtime 'UnsatisfiedLinkError' error occurs when I modify the init method to
@Override public void init() { SpringContext context = new SpringContext(this.getClass(), () -> Arrays.asList()); context.init(); addViewFactory(HOME_VIEW, this::createView); }
The error is exactly the same as in this thread: oracle/graal#3406
My overall environment is similar too.
I also notice that when I remove the 'context.init()' invocation, then the error does not occur. The error will occur regardless of where it is invoked; for example, I could invoke it after the call to addViewFactory(...) and the error will still happen.
I get similar crashes with Guice and Dagger.