-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error creating graal native image using Graal-rc8 #766
Comments
This is probably because Graal now processes META-INF/services and oracle/graal#597 is unimplemented. |
yeah. |
you need to include also '-H:-UseServiceLoaderFeature' argument to |
If I use the -UseServiceLoaderFeature as suggested by @jagedn , I get the below error
|
That works with RC8. They introduced a regression in RC9, so nothing we can do it until they release RC10. |
@ilopmar you tried with the new |
No, I haven't built Graal from master branch to try the new flag. I'll add it to my todo list. |
As a workaround you can add jzlib to your classpath: |
I've been building localy graal from master branch and with the new |
Interesting you have it working, for me it fails with the issues reported in oracle/graal#812 |
I'm able to build and run without exception the app you link in oracle/graal#812 with both graal-rc8 and master using the generated
|
Hmm I think then you aren’t really using master even though you think you are |
I'm using
What I'm doing with rc8 is generating
But outside that directory those commands don't work. |
I've updated the guide to Micronaut 1.0.3 and Graal RC11: http://guides.micronaut.io/micronaut-creating-first-graal-app/guide/index.html |
Starting with Graal RC12 Graal supports Service Loaders so the flag |
cd micronaut-creating-first-graal-app
git checkout graal-rc8
. The branch uses the new dependency for Graal and Micronaut snapshotThe text was updated successfully, but these errors were encountered: