I can\'t import org.apache.http.entity.ContentType for some reason. I have added Apache HTTP 4.3.3:
I had the same issue. You have to make sure you are using jdk 1.7 and not 1.6.