-
Notifications
You must be signed in to change notification settings - Fork 2.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
Multiple NoClassDefFoundError with SVM built with jdk11u #8081
Comments
/cc @geoand |
The labs JDK contains newer JVMCI code that invokes into |
Thanks for the update @galderz! |
The code changes required to bring JVMCI code up to the newer version are too much. So, for the time being we're going to explore the option of adding missing classes to jars. These extra classes do not make it to the final native image, nor do they have an impact on the JVM mode. So, it's a relatively safe option. Next few days I will explore which other classes are required to satisfy this. |
Ok @galderz let us know when and what you want to add; |
Another one impacted (longer output):
|
Looks like an issue with Tika, no? |
Yeah, an issue in one of the jars. I'm looking into that this morning. |
Changed the description to encompass other possible situations, not just spring web. |
Good idea! |
The tika/poi issue is fixed with #8185. |
Main quarkus native testsuite passes now. @geoand, you can go ahead and merge the spring-web api PR. Could you also release a new version and upgrade quarkus tree? |
@galderz of course. Thanks for checking. |
I've noticed yet another one, but this time in the quarkus-platform testsuite:
Longer output here. |
Add missing ooxml-schemas dependency #8081
Re:camel, when running with labs JDK, I see this message:
|
A similar issue was appearing with Labs JDK, so I expect this latest failure with jdk11u-dev to go away. I'll test in the next few days. |
@geoand Have you already updated the Spring dependency to avoid this issue? If not, any estimates when you expect to do this? |
@galderz yes, the fix is in Quarkus |
Awesome @geoand, one less patch I need to keep track of :) |
With the spring and ooxml-schemas issues integrated, I think I can close this for now. I still need to test Camel, but if that fails I'll open an issue on their project. Thx everyone for their help! |
Thanks for reporting and for your help @galderz! |
jdk11u now contains the necessary bits to build a JDK with static libraries, which is required to build substratevm. While testing a snapshot JDK built out of there the following error has appeared:
Longer output can be found here.
We've had a little Zulip conversation here, and we've discovered that
HttpMethod
is not included in the jar. The question is, why does it get into the pointsto analysis with this particular JDK? Further analysis is required.The text was updated successfully, but these errors were encountered: