Skip to content

Conversation

OlgaMaciaszek
Copy link

Avoid failing on:

Parameter 1 of method restClientPropertiesHttpServiceGroupConfigurer in org.springframework.boot.autoconfigure.http.client.service.HttpServiceClientAutoConfiguration required a bean of type 'org.springframework.boot.autoconfigure.http.client.HttpClientSettingsProperties' that could not be found.

when only spring-boot-sarter-wbflux on the classpath.

Caused by https://github.com/spring-projects/spring-boot/blob/711c53d16c802025343285b90c3dd1f8c60ed1a6/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/http/client/HttpClientAutoConfiguration.java#L47.

Alternative solution: make HttpServiceClientAutoConfiguration @Conditional(NotReactiveWebApplicationCondition.class)

…ingsProperties bean.

Signed-off-by: Olga Maciaszek-Sharma <[email protected]>
@philwebb
Copy link
Owner

Fixed in spring-projects/spring-boot 4.0.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants