-
Notifications
You must be signed in to change notification settings - Fork 833
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
GraalVM - Improve compatibility with native images #6127
Comments
Hmm.. I can't recreate this. I also can't make sense of why the compile wouldn't be able to find But clearly you've seen the error so something is going on. Would you be able to post a small reproduction app so I can analyze it closer? |
I've created a simple reproduction app, see https://github.com/NicklasWallgren/otpl-native-poc
The issue is probably related to |
Thanks for the repro. After looking closely, it turns out that your app requires a different version of graal than we are running in the build. After updating the version, I managed to recreate it in #6139 in this build. Not a graal / native image expert so not sure what changed between the CI we were running before and the new version 21, but as you point out, adding |
Describe the bug
Unable to build a Spring Boot 3.2 application using Java 21 and GraalVM 22.3, using AOT native-image.
Steps to reproduce
What did you expect to see?
My understanding is that opentelemetry has native-image support. So I'd expect the application to build without crashing or throwing an exception.
What did you see instead?
What version and what artifacts are you using?
Environment
Compiler: "Graalvm 22.3"
MacOS
Additional context
I fixed the issue locally by adding;
The text was updated successfully, but these errors were encountered: