Skip to content

Apache HttpComponents 4.3 required at runtime but not listed in migration guide [SPR-11383] #16010

Closed
@spring-projects-issues

Description

@spring-projects-issues

jose luis sanchez opened SPR-11383 and commented

There's a missing dependency been upgraded, or at least, changed since spring 3.x.

Spring 4.x now uses commons-httpclient 4.3.x, as previous releases did not include CloseableHttpClient class :

Caused by: java.lang.NoClassDefFoundError: org/apache/http/impl/client/CloseableHttpClient
at org.springframework.http.client.HttpComponentsClientHttpRequestFactory.<init>(HttpComponentsClientHttpRequestFactory.java:85) ~[spring-web-4.0.1.RELEASE.jar:4.0.1.RELEASE


Affects: 4.0 GA, 4.0.1

Reference URL: https://github.com/spring-projects/spring-framework/wiki/Migrating-from-earlier-versions-of-the-spring-framework

Issue Links:

Referenced from: commits d55c22e, f053f60

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions