-
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
NoClassDefFoundError: kotlin/reflect/KParameter #656
Comments
Hi @dsyer , this is due to a fix for a bug in JVMCI. The problem is that to get the annotation for a I am currently pushing a change that will provide a clearer error message for this situation. |
I can't say I like that solution. It's a workaround right? I shouldn't have to put things on the classpath just to build a native image? It bloats the image and possibly even changes the behaviour of the app at runtime. I added a dummy |
@christianwimmer @cstancu this is a reasonable objection raised by @dsyer . I think all calls to |
This issue is fixed as of RC12. |
This is new with image generation for a minimal Spring Boot app in rc6:
Source code and README: https://github.com/dsyer/spring-boot-aot.
The text was updated successfully, but these errors were encountered: