-
Notifications
You must be signed in to change notification settings - Fork 416
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
Hacking/efficient restbucks #123
Hacking/efficient restbucks #123
Conversation
Remove obsolete Hibernate version override.
Remove obsolete explicit log levels and fix indentation.
Detailed instructions about the HAL Explorer and IDE setup needed for IntelliJ.
* buildpacks profile also add CDS and AOT Spring Boot optimization * buildpacks-native just intends to build the native image Careful: if running on an ARM64 Mac, expect Arm64 images as a result
replaces #121 |
CI is running in: https://github.com/anthonydahanne/spring-restbucks/actions |
3254e99
to
76a599a
Compare
76a599a
to
5da40b8
Compare
Hello @odrotbohm and @sdeleuze 👋 !
Did I miss something obvious? |
For CDS + AOT, the ByteBuddy warnings are expected because it is built with a Java 6 baseline and this is not compatible with CDS, it is not expected to be blocking, I have created raphw/byte-buddy#1657 related issue. The error is more likely due to the error message Also make sure to configure the application to avoid early DB interaction in the training run as documented here. Native build seems broken by the |
5da40b8
to
5368a7e
Compare
b656ddc
to
00b5c13
Compare
00b5c13
to
e713c48
Compare
Thanks @sdeleuze for your input! So I could make the CDS build work, disabling AOT.
with CDS
so it looks fine; you can try it out, I've published it for 24h via CI:
It's built on x86, so on your mac don't expect a fast startup😅 Now, for
Actually, I googled some more, and... the excellent @wilkinsona already helped someone on SO, and, quite ironically, linked to an issue in... paketo-buildpacks/native-image#321 😂 But unfortunately, now the native image dies at runtime because of some missing logging conf. classes?!
I published it too, check it out:
|
The related exception above seems about I see a @anthonydahanne Could you please check if the application is working as expected when removing that file and doing a clean build? |
|
well, the mystery deepens for me...
|
Both the |
Same analysis than @wilkinsona, and when building the native application with @anthonydahanne Maybe when building with @odrotbohm Could you please help us to understand why AOT and native builds seems broken with this |
It looks like the error also appears on |
If I remove the upgrade to Spring Framework 6.2 from the |
It looks like we're dealing with a regression in the AOT handling of Framework 6.2. I've created a branch |
Thanks, everyone, for your involvement. On plain Boot 3.3, I get @anthonydahanne's changes working once I add the metadata repository inclusiong to the I'll go ahead and rearrange master to stay on Framework 6.1 for now and move the 6.2 related changes to a dedicated branch. The AOT bug we ran into was fixed, but there's apparently been additional, more invasive changes to the AOT infrastructure that currently render 6.2 snapshots incompatible with Boot 3.3 and 3.4 snapshots. Long story short: I'll take it from here. Thanks! 🙇 |
The contribution is now available in |
No description provided.