-
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
Native Image doesn't work on Windows 10 since graalvm-ce-java11-windows-amd64-20.3.1 #3140
Comments
Same error today |
Are you by any chance compiling a micronaut app? If so it should be fixed by using the upcomming 2.3.0 release that may come out any moment. Fix is to remove the config entry. |
@kwang1 Thanks for reporting the issue |
I had the same issue. Seems to be resolved by updating micronaut and then updating the version of the micronaut libs in the gradle.properties & the build.gradle files. This has worked for me so far - though I am thinking I should double check this |
Yes, @kkriske. I did run 'native-image' on the jar generated by micronaut. After I upgrade micronaut to 2.3.0, no exceptions at all. |
Hi @mcraj017 , do you mean how to test? I just added those steps. Thanks |
@kwang1 Its a micronaut issue, if upgrading micronaut solves the issue |
@kwang1 closing this issue as there is no response from user from last 1 month |
Describe the issue
graalvm-ce-java11-windows-amd64-20.2.0 works fine on my Windows 10, but since graalvm-ce-java11-windows-amd64-20.3.1, I got following exception. I also tried graalvm-ce-java11-21.0.0, it has the same problem.
Steps to reproduce the issue
Please include both build steps as well as run steps
mn create-app com.example.app
, micronaut version is 2.2.3.gradlew assemble
native-image -jar "<full-path-to-jar>/app-0.1-all.jar
Describe GraalVM and your environment:
More details
The text was updated successfully, but these errors were encountered: