-
-
Notifications
You must be signed in to change notification settings - Fork 778
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 native image fails at run time due to NoClassDefFoundError #1617
Comments
Are you using a random naming strategy? Likely, some byte code is changed during prerun and compile? |
Thanks for your reply. In the library code, Exception: Below is the code snippet from the library:
|
I assume that there is still some randomness and hash Can you check what |
I am using a third party library that uses ByteBuddy. The native image is created successfully but fails at run time with below exception -
Fixes attempted:
I have used GraalVM tracing agent , followed suggestions recommended here and here. After following these suggestions, I get a different error:
Defining a class from new bytecodes at run time is not supported Class XYZ... with hash a35588c was not provided during the image build
Can you please help on how to proceed here.
Thanks
The text was updated successfully, but these errors were encountered: