-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[GR-60622][Native Image] Compiling Native Image with Groovy 5.0.0 throws an exception Could not find target method
#10200
Comments
Could not find target method
Could not find target method
Hi @linghengqian, Thank you for reaching out to us! Could you please try using the latest version of GraalVM? You can download it here: GraalVM Community Edition Releases. The issue you are encountering might be related to missing reflection or method metadata required at runtime. We recommend using the Tracing Agent to generate the necessary configuration files. You can find more information about this process in the following resources: |
@selhagani I can confirm that I can get the same log on graalvm ce for jdk 23.0.1. And the tracing agent of graalvm ce for jdk23.0.1 is broken. Refer to #9929 . |
In that case, I recommend following the manual approach by referring to the steps outlined in the Diagnose Missing Metadata Registration section of the GraalVM documentation. You can find the guide here: https://www.graalvm.org/latest/reference-manual/native-image/guides/troubleshoot-run-time-errors/. |
|
Could not find target method
Could not find target method
I shared this with our team and I'll make sure to keep you updated regarding this. Once again thank you for reaching out to us about this. |
Describe the Issue
Could not find target method
. See https://github.com/linghengqian/groovy-v500-graalvm-test .Using the latest version of GraalVM can resolve many issues.
GraalVM Version
Operating System and Version
Linux DESKTOP-2OCN434 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build Command
Expected Behavior
Actual Behavior
Could not find target method
.Steps to Reproduce
SDKMAN!
.Additional Context
Build Log Output and Error Messages
The text was updated successfully, but these errors were encountered: