René's URL Explorer Experiment


Title: HTTP Service Interface Client doesn't work in a native image due to missing property binding · Issue #49274 · spring-projects/spring-boot · GitHub

Open Graph Title: HTTP Service Interface Client doesn't work in a native image due to missing property binding · Issue #49274 · spring-projects/spring-boot

X Title: HTTP Service Interface Client doesn't work in a native image due to missing property binding · Issue #49274 · spring-projects/spring-boot

Description: It appears that new http service clients are not getting proper configuration from application.properties, as a result these clients don't work at all. This happening when running Spring Boot application in Native Image mode. For example...

Open Graph Description: It appears that new http service clients are not getting proper configuration from application.properties, as a result these clients don't work at all. This happening when running Spring Boot appli...

X Description: It appears that new http service clients are not getting proper configuration from application.properties, as a result these clients don't work at all. This happening when running Spring Boot a...

Opengraph URL: https://github.com/spring-projects/spring-boot/issues/49274

X: @github

direct link

Domain: redirect.github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"HTTP Service Interface Client doesn't work in a native image due to missing property binding","articleBody":"It appears that new http service clients are not getting proper configuration from application.properties, as a result these clients don't work at all. This happening when running Spring Boot application in Native Image mode.\n\nFor example:\nwe have following `application.properties`\n\n```yaml\nspring:\n  http:\n    clients:\n      connect-timeout: 5000\n      read-timeout: 5000\n    serviceclient:\n      myclient:\n        base-url: https://example.com\n```\n\nAnd following config for this client:\n```java\n@Configuration\n@ImportHttpServices(group = \"myclient\", types = MyClient.class)\npublic class RestClientsConfig {\n}\n```\nWhere MyClient.java is\n```java\npublic interface MyClient {\n\n    @GetExchange(\"/hello\")\n    SomeResponseDto hello();\n}\n```\nNow when we try to call our client `myClient.hello()` we'll get\n\nThis exception\n\n```\njava.lang.IllegalArgumentException: URI with undefined scheme\n\tat java.net.http@25/jdk.internal.net.http.common.Utils.newIAE(Utils.java:394)\n\tat java.net.http@25/jdk.internal.net.http.HttpRequestBuilderImpl.checkURI(HttpRequestBuilderImpl.java:81)\n\tat java.net.http@25/jdk.internal.net.http.HttpRequestBuilderImpl.uri(HttpRequestBuilderImpl.java:73)\n\tat java.net.http@25/jdk.internal.net.http.HttpRequestBuilderImpl.uri(HttpRequestBuilderImpl.java:45)\n\tat org.springframework.http.client.JdkClientHttpRequest.buildRequest(JdkClientHttpRequest.java:167)\n\tat org.springframework.http.client.JdkClientHttpRequest.executeInternal(JdkClientHttpRequest.java:117)\n\tat org.springframework.http.client.AbstractStreamingClientHttpRequest.executeInternal(AbstractStreamingClientHttpRequest.java:87)\n\tat org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:80)\n\tat org.springframework.web.client.DefaultRestClient$DefaultRequestBodyUriSpec.exchangeInternal(DefaultRestClient.java:609)\n\tat org.springframework.web.client.DefaultRestClient$DefaultRequestBodyUriSpec.exchange(DefaultRestClient.java:567)\n\tat org.springframework.web.client.RestClient$RequestHeadersSpec.exchange(RestClient.java:750)\n\tat org.springframework.web.client.DefaultRestClient$DefaultResponseSpec.executeAndExtract(DefaultRestClient.java:908)\n\tat org.springframework.web.client.DefaultRestClient$DefaultResponseSpec.body(DefaultRestClient.java:831)\n\tat org.springframework.web.client.support.RestClientAdapter.exchangeForBody(RestClientAdapter.java:79)\n\tat org.springframework.web.service.invoker.HttpServiceMethod$ExchangeResponseFunction.lambda$create$4(HttpServiceMethod.java:442)\n\tat org.springframework.web.service.invoker.HttpServiceMethod$ExchangeResponseFunction.execute(HttpServiceMethod.java:399)\n\tat org.springframework.web.service.invoker.HttpServiceMethod.invoke(HttpServiceMethod.java:134)\n\tat org.springframework.web.service.invoker.HttpServiceProxyFactory$HttpServiceMethodInterceptor.invoke(HttpServiceProxyFactory.java:300)\n```\n\nI'm using `Spring Boot 4.0.3` and gradle plugin `org.graalvm.buildtools.native 0.11.4`. Image is built by `./gradlew bootBuildImage`\n\nThere is no issue when running application in standard(non-native) mode ","author":{"url":"https://github.com/imaxvell","@type":"Person","name":"imaxvell"},"datePublished":"2026-02-19T16:57:42Z","url":"https://github.com/spring-projects/spring-boot/issues/49274"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b886b3b1-340a-aaf7-28b4-25a8251864ca
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB296:6780E:1D1B599:2682A31:6AEDA18F
html-safe-nonce3a1a684d68d8daa3d78b5272ff1a772fb2467de5a2474cca3d499034c8dc6d51
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjk2OjY3ODBFOjFEMUI1OTk6MjY4MkEzMTo2QUVEQTE4RiIsInZpc2l0b3JfaWQiOiIyNTM5NTcxMzczMTU5NTg4MjM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc9addeac91255ae26664e4c9b37fe78360aa9d139588fd4f6d9ba4a527e2762c
hovercard-subject-tagissue:3963990172
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/spring-projects/spring-boot/49274/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b0ce9794aa7c163b33c5c878eaf343b38af5bc2cd2ab453de5aa68c08a869e5d/spring-projects/spring-boot/issues/49274
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b0ce9794aa7c163b33c5c878eaf343b38af5bc2cd2ab453de5aa68c08a869e5d/spring-projects/spring-boot/issues/49274
og:image:altIt appears that new http service clients are not getting proper configuration from application.properties, as a result these clients don't work at all. This happening when running Spring Boot appli...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameimaxvell
hostnamegithub.com
expected-hostnamegithub.com
None9f51e3b6c7a190e426e641ae15acbc58dd1ac2003e96b58879bbc298e213dbf3
turbo-cache-controlno-preview
go-importgithub.com/spring-projects/spring-boot git https://github.com/spring-projects/spring-boot.git
octolytics-dimension-user_id317776
octolytics-dimension-user_loginspring-projects
octolytics-dimension-repository_id6296790
octolytics-dimension-repository_nwospring-projects/spring-boot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id6296790
octolytics-dimension-repository_network_root_nwospring-projects/spring-boot
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7060660810b587033ea861b8aa67beb72c8e6542
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://redirect.github.com/spring-projects/spring-boot/issues/49274#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fspring-projects%2Fspring-boot%2Fissues%2F49274
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fspring-projects%2Fspring-boot%2Fissues%2F49274
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=spring-projects%2Fspring-boot
Reloadhttps://redirect.github.com/spring-projects/spring-boot/issues/49274
Reloadhttps://redirect.github.com/spring-projects/spring-boot/issues/49274
Reloadhttps://redirect.github.com/spring-projects/spring-boot/issues/49274
spring-projectshttps://redirect.github.com/spring-projects
spring-boothttps://redirect.github.com/spring-projects/spring-boot
Codehttps://redirect.github.com/spring-projects/spring-boot
Issues443 (443)https://redirect.github.com/spring-projects/spring-boot/issues
Pull requests37 (37)https://redirect.github.com/spring-projects/spring-boot/pulls
Actionshttps://redirect.github.com/spring-projects/spring-boot/actions
Wikihttps://redirect.github.com/spring-projects/spring-boot/wiki
Security and qualityhttps://redirect.github.com/spring-projects/spring-boot/security
Insightshttps://redirect.github.com/spring-projects/spring-boot/pulse
https://redirect.github.com/spring-projects/spring-boot
New issuehttps://redirect.github.com/login?return_to=https://github.com/spring-projects/spring-boot/issues/49274
New issuehttps://redirect.github.com/login?return_to=https://github.com/spring-projects/spring-boot/issues/49274
HTTP Service Interface Client doesn't work in a native image due to missing property bindinghttps://redirect.github.com/spring-projects/spring-boot/issues/49274#top
https://redirect.github.com/wilkinsona
type: bugA general bughttps://github.com/spring-projects/spring-boot/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
4.0.4https://github.com/spring-projects/spring-boot/milestone/417
https://github.com/imaxvell
imaxvellhttps://github.com/imaxvell
on Feb 19, 2026https://github.com/spring-projects/spring-boot/issues/49274#issue-3963990172
spring-projects-issueshttps://redirect.github.com/spring-projects-issues
status: waiting-for-triageAn issue that has not yet been triaged. Contributions will not be accepted.https://redirect.github.com/spring-projects/spring-boot/issues?q=state%3Aopen%20label%3A%22status%3A%20waiting-for-triage%22
on Feb 19, 2026https://github.com/spring-projects/spring-boot/issues/49274#event-22922368626
https://redirect.github.com/philwebb
philwebbhttps://redirect.github.com/philwebb
on Feb 19, 2026https://github.com/spring-projects/spring-boot/issues/49274#issuecomment-3928808013
philwebbhttps://redirect.github.com/philwebb
status: waiting-for-feedbackWe need additional information before we can continuehttps://redirect.github.com/spring-projects/spring-boot/issues?q=state%3Aopen%20label%3A%22status%3A%20waiting-for-feedback%22
on Feb 19, 2026https://github.com/spring-projects/spring-boot/issues/49274#event-22923543742
imaxvellhttps://redirect.github.com/imaxvell
on Feb 19, 2026https://github.com/spring-projects/spring-boot/issues/49274#event-22927149377
simple project to reproduce issue spring-projects/spring-boot#49274https://github.com/imaxvell/spring-boot-49274-native-repro/commit/512ed3cc019df2db821eec551100c8456934c5ce
spring-projects/spring-boot#49274https://github.com/spring-projects/spring-boot/issues/49274
512ed3chttps://github.com/imaxvell/spring-boot-49274-native-repro/commit/512ed3cc019df2db821eec551100c8456934c5ce
https://redirect.github.com/imaxvell
imaxvellhttps://redirect.github.com/imaxvell
on Feb 19, 2026https://github.com/spring-projects/spring-boot/issues/49274#issuecomment-3929563114
@philwebbhttps://github.com/philwebb
https://github.com/imaxvell/spring-boot-49274-native-reprohttps://github.com/imaxvell/spring-boot-49274-native-repro
spring-projects-issueshttps://redirect.github.com/spring-projects-issues
status: feedback-providedFeedback has been providedhttps://redirect.github.com/spring-projects/spring-boot/issues?q=state%3Aopen%20label%3A%22status%3A%20feedback-provided%22
status: waiting-for-feedbackWe need additional information before we can continuehttps://redirect.github.com/spring-projects/spring-boot/issues?q=state%3Aopen%20label%3A%22status%3A%20waiting-for-feedback%22
on Feb 19, 2026https://github.com/spring-projects/spring-boot/issues/49274#event-22927310104
wilkinsonahttps://redirect.github.com/wilkinsona
type: bugA general bughttps://redirect.github.com/spring-projects/spring-boot/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
status: waiting-for-triageAn issue that has not yet been triaged. Contributions will not be accepted.https://redirect.github.com/spring-projects/spring-boot/issues?q=state%3Aopen%20label%3A%22status%3A%20waiting-for-triage%22
status: feedback-providedFeedback has been providedhttps://redirect.github.com/spring-projects/spring-boot/issues?q=state%3Aopen%20label%3A%22status%3A%20feedback-provided%22
on Feb 25, 2026https://github.com/spring-projects/spring-boot/issues/49274#event-23071290484
wilkinsonahttps://redirect.github.com/wilkinsona
on Feb 25, 2026https://github.com/spring-projects/spring-boot/issues/49274#event-23071293832
https://redirect.github.com/wilkinsona
wilkinsonahttps://redirect.github.com/wilkinsona
on Feb 25, 2026https://github.com/spring-projects/spring-boot/issues/49274#issuecomment-3959885861
@imaxvellhttps://github.com/imaxvell
wilkinsonahttps://redirect.github.com/wilkinsona
on Feb 25, 2026https://github.com/spring-projects/spring-boot/issues/49274#event-23071777047
wilkinsonahttps://redirect.github.com/wilkinsona
4.0.xhttps://github.com/spring-projects/spring-boot/milestone/362
4.0.4https://github.com/spring-projects/spring-boot/milestone/417
on Feb 25, 2026https://github.com/spring-projects/spring-boot/issues/49274#event-23071780767
wilkinsonahttps://redirect.github.com/wilkinsona
completedhttps://redirect.github.com/spring-projects/spring-boot/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
20ff2b7https://github.com/spring-projects/spring-boot/commit/20ff2b7ff17be57317b1f0bde9724532c8ea0f33
on Feb 25, 2026https://github.com/spring-projects/spring-boot/issues/49274#event-23072002965
wilkinsonahttps://redirect.github.com/wilkinsona
on Feb 25, 2026https://github.com/spring-projects/spring-boot/issues/49274#event-23072003830
Register reflection hints for HTTP service client property bindinghttps://github.com/spring-projects/spring-boot/commit/20ff2b7ff17be57317b1f0bde9724532c8ea0f33
https://docs.github.com/articles/closing-issues-via-commit-messages
20ff2b7https://github.com/spring-projects/spring-boot/commit/20ff2b7ff17be57317b1f0bde9724532c8ea0f33
https://redirect.github.com/imaxvell
imaxvellhttps://redirect.github.com/imaxvell
on Feb 25, 2026https://github.com/spring-projects/spring-boot/issues/49274#issuecomment-3960550987
@wilkinsonahttps://github.com/wilkinsona
Sign up for freehttps://redirect.github.com/signup?return_to=https://github.com/spring-projects/spring-boot/issues/49274
Sign in to commenthttps://redirect.github.com/login?return_to=https://github.com/spring-projects/spring-boot/issues/49274
wilkinsonahttps://redirect.github.com/wilkinsona
type: bugA general bughttps://github.com/spring-projects/spring-boot/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
4.0.4https://github.com/spring-projects/spring-boot/milestone/417
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.