-
Notifications
You must be signed in to change notification settings - Fork 38.4k
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 bean class in native image with a Kotlin nested class #32472
Comments
When running |
Set the permissions on the file chmod 400 src/main/resources/docker/keyfile |
I am able to reproduce, that said, I am not sure something has to be fixed in Spring Framework since I am not sure yet why we see this error because |
After more tests, I found that the applications works as expected if you add a reflection hint for the outer class @snicoll The code path involves Spring Data which invokes Unrelated, notice that an additional hint for |
After chatting with Sébastien, we think that we should detect this case whenever we infer a reflection hint on a type. We also wonder if the same issue would happen if a non-static inner class was exposed that way in Java. |
Affects: <6.1.2>
Reproducer: https://github.com/juliuskrah/graphql-demo/tree/spf-32472
Missing class in AOT processed Bean
Given the following bean definition:
The aot process generates the following class:
I encounter the following exception when running the native executable:
The text was updated successfully, but these errors were encountered: