Skip to content

WebClient auto-configuration tries to use HttpComponentsClientHttpConnector when all required classes are not present #34964

@wilkinsona

Description

@wilkinsona

As reported in #34962, a java.lang.NoClassDefFoundError: org/apache/hc/core5/reactive/ReactiveResponseConsumer can occur when an incomplete set of Http Client 5 modules is on the classpath. We need to tighten up the classpath checks to ensure that ReactiveResponseConsumer is on the classpath before auto-configuring HttpComponentsClientHttpConnector.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions