-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Missing method on java.security.KeyPairGenerator? #533
Comments
Can you please provide more context? Is this an error that you see when trying to build a native image or did you successfully built the image and you see this at runtime? If it is the later you probably need to configure |
It was occurring after I built the native image and was trying to run it. I got it working by adding a reflection config file. Now I am getting another exception running the native image due to the bouncy castle classes not being available -
Is there anyway to include all classes and methods from a package using the reflection config? |
The original error should be fixed in 76d0435 which adds support for HTTPS and JCA security services. These features will be available in the rc7 realease. See JCA-SECURITY-SERVICES.md for details. You need to run Regarding including all classes and methods from a package using reflection config, that is not possible. It is better to register only those classes/methods/fields that actually need reflection, otherwise you risk adding too much unused code to the image. |
Running a native image with graalvm-ce-1.0.0-rc3
The text was updated successfully, but these errors were encountered: