Click here to Skip to main content
15,895,799 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
when writing code, import org.apache.http.HttpEntity;

It gives error cannot resolve symbol HttpEntity.
Posted
Updated 23-Sep-15 2:13am
v2

1 solution

Quote:
The Commons HttpClient project is now end of life, and is no longer being developed. It has been replaced by the Apache HttpComponents project in its HttpClient and HttpCore modules, which offer better performance and more flexibility.
more...[^]

So from now on you will be using, org.apache.http.client.HttpClient

-KR
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900