Closed
Description
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:
- Upgrade HttpComponentsHttpInvokerRequestExecutor to require Apache HttpComponents 4.3 [SPR-11113] #15739 Upgrade HttpComponentsHttpInvokerRequestExecutor to require Apache HttpComponents 4.3