-
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
NoClassDefFoundError regressions since 1.0.0-rc7 #760
Comments
Same kind of regression when compiling https://github.com/spring-projects/spring-fu/tree/master/samples/kofu-reactive-graal, it works with rc7, but not with rc8 (
|
See also #494 (comment) that mentions related regressions. |
Can you please try with latest master? In d598be2 we introduced a new option: |
I tried to build my usual https://github.com/spring-projects/spring-fu/tree/master/samples/kofu-reactive-graal project with latest GraalVM master and
You can reproduce it as following:
Getting that fixed before my upcoming GraalVM demo at Devoxx next week would be much appreciated ;-) |
@sdeleuze thanks for the steps to reproduce. It looks like you hit a corner case in our support for incomplete classpaths. Essentially what is happening is that |
Ok thanks for the explanation, please ping me when a fix is available on master to allow me to test it again. |
I just tried to build a native image with GraalVM from master:
This is a new one, so technically a regression. I could build this native image with rc5. Source code and README: https://github.com/dsyer/spring-boot-micro-apps. |
The
|
@dsyer I am trying to replicate the issues you pointed above using https://github.com/dsyer/spring-boot-micro-apps. I am probably missing something but it looks like my
|
@dsyer I managed to get a proper classpath with CP= |
You need the “graal” profile to avoid some other issues (which ideally wouldn’t exist because they are just “missing classes”). I think there’s something wrong with the jar you built. What OS are you on? |
Never mind, I think I had some inconsistencies in my environment. After a deep clean and a rebuild I am able to replicate the issues that you mentioned above. |
@dsyer both |
This happens with rc8 but not rc7.
Any ideas for a workaround?
The text was updated successfully, but these errors were encountered: