-
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
java.util.NoSuchElementException: SRCFG00011: Could not expand value platform.quarkus.native.builder-image in property quarkus.native.builder-image #45472
Comments
/cc @geoand (jib) |
@radcortez do you remember what caused similar issues in the past? |
If I remember correctly, the property was missing for Gradle, because it was being set somewhere else (not included in Gradle): Lines 63 to 81 in 778834e
@Inithron can you please provide a reproducer? Thank you. |
reproducer-for-45472.zip |
reproducer-for-45472_2.zip |
We are also seeing this after upgrading to Quarkus 3.17.x. Also using Gradle. |
Describe the bug
After the update of Quarkus from 3.15.1 to 3.17.6 following error occurs when building an image:
There was no change in the code. Only the update of Quarkus.
I did some research and found this issue: #19139. But we are already using
implementation enforcedPlatform('io.quarkus.platform:quarkus-bom:3.17.6')
We are using the
io.quarkus:quarkus-container-image-jib
extension with following configuration:We don't create native images.
There is a workaround: When we set the following property:
quarkus.native.builder-image=mandrel
, then the images can be build again.Expected behavior
quarkus.native.builder-image
. So it should not be necessary to set the default value.Actual behavior
Without the mentioned workaround we are no more able to build images.
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
17
Quarkus version or git rev
3.17.6
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.12
Additional information
The text was updated successfully, but these errors were encountered: