Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please upgrade org.apache.httpcomponents:httpclient #38

Closed
danwashusen opened this issue Feb 5, 2013 · 4 comments
Closed

Please upgrade org.apache.httpcomponents:httpclient #38

danwashusen opened this issue Feb 5, 2013 · 4 comments

Comments

@danwashusen
Copy link

Many other OS libs are now running against org.apache.httpcomponents:httpclient:4.2.x (e.g. Selenium) which seems to be incompatible with org.apache.httpcomponents:httpclient:4.1 that aws-java-sdk depends on.

If I manually upgrade to org.apache.httpcomponents:httpclient:4.2.2 the AWS client throws java.lang.ClassNotFoundException: org.apache.http.HttpEntityEnclosingRequest during initialisation.

To work around this we're going to have to turn off Firefox auto-updates and pin FF at an old version so that Selenium works. Not really ideal for a web app dev team...

@danwashusen
Copy link
Author

Sorry, the above is not correct. The ClassNotFoundException was being thrown because htttpcore was being included as a test dependancy and as a result the AWS client couldn't find it at run time.

@wmatveyenko
Copy link
Contributor

Hi Dan,
Were you able to run successfully after you upgraded to HttpClient 4.2.X?

Thanks,
Wade

@hertzsprung
Copy link
Contributor

For what it's worth, I've been running AWS SDK with HttpClient 4.2.3 without seeing any issues (that's not to say there /aren't/ any issues, but I'd hope the SDK has tests that would catch them?)

@danwashusen
Copy link
Author

Yep, confirmed working with HttpClient 4.2.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

No branches or pull requests

3 participants