You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Configuration metadata mismatch for 'spring.http.serviceclient.{group}.apiversion.default-version' #48611
In Spring Boot 4.0.1, there appears to be a mismatch between the Spring Configuration Metadata and the actual property binding behavior for the API version configuration of HttpClientProperties.
The generated configuration metadata advertises the following property:
The @Name("default") annotation should be aligned with the documented metadata key (default-version)
Impact
Users relying on IDE auto-completion or metadata-based configuration guidance may configure the wrong property.
This results in silent misconfiguration, as no error or warning is raised.
The issue is not easily discoverable without inspecting the source code.
Suggested Fix
Align the Spring configuration metadata with the actual property name used for binding, or adjust the property binding annotation to match the documented metadata key.
changed the title [-]Configuration metadata mismatch for `spring.http.serviceclient.{group}.apiversion.default-version`[/-][+]Configuration metadata mismatch for 'spring.http.serviceclient.{group}.apiversion.default-version'[/+]on Dec 24, 2025
The generated configuration metadata advertises the following property:
What generated configuration metadata? There is no generated configuration metadata for Lists or Maps. I think the problem is that a POJO is being used as both a root and as a target of a complex type.
This is a mistake from a dependency metadata perspective as it's the first time we're mixing such constraints in both of those target. Which IDE are you using?
Thanks for the offer @lian220. Issues waiting-for-triage and/or assigned to someone aren't open for contributions. In this particular case, it's unclear what we want to do (if something at all).
Sorry for the duplicate issue.
I wasn’t sure whether this should be handled by Spring Boot or Spring Tools, so I reported it in both places.
There was some confusion because the configuration metadata suggests default-version, while the actual runtime property binding only works with default.
If this issue is better tracked elsewhere, please feel free to close it.
Activity
[-]Configuration metadata mismatch for `spring.http.serviceclient.{group}.apiversion.default-version`[/-][+]Configuration metadata mismatch for 'spring.http.serviceclient.{group}.apiversion.default-version'[/+]snicoll commentedon Dec 24, 2025
What generated configuration metadata? There is no generated configuration metadata for Lists or Maps. I think the problem is that a POJO is being used as both a root and as a target of a complex type.
This is a mistake from a dependency metadata perspective as it's the first time we're mixing such constraints in both of those target. Which IDE are you using?
lian220 commentedon Dec 24, 2025
'm interested in working on this issue. Should I wait for triage to complete, or can I start investigating?
snicoll commentedon Dec 24, 2025
Thanks for the offer @lian220. Issues
waiting-for-triageand/or assigned to someone aren't open for contributions. In this particular case, it's unclear what we want to do (if something at all).snicoll commentedon Dec 24, 2025
@libedi do not duplicate, especially without indicating you've done so. This was reported against Eclipse already.
I am going to close this as duplicate but it looks like there are more investigations needed for this property, #48616
libedi commentedon Dec 24, 2025
@snicoll
Sorry for the duplicate issue.
I wasn’t sure whether this should be handled by Spring Boot or Spring Tools, so I reported it in both places.
There was some confusion because the configuration metadata suggests
default-version, while the actual runtime property binding only works withdefault.If this issue is better tracked elsewhere, please feel free to close it.
snicoll commentedon Dec 25, 2025
It is already closed and, again, we do not generate metadata for the property.
Please don't report the same problem in two different places again.