1

I am using Eclipse in creating the java project. I am getting the below error and I don't understand what is missing. Please help

 Exception in thread "main" java.lang.NoSuchMethodError: org.apache.http.entity.StringEntity.<init>(Ljava/lang/String;Lorg/apache/http/entity/ContentType;)V
    at org.apache.http.client.fluent.Request.bodyString(Request.java:282)
    at com.urbanairship.api.client.APIClient.pushRequest(APIClient.java:113)
    at com.urbanairship.api.client.APIClient.push(APIClient.java:200)
    at MainClass.main(MainClass.java:76)
Subhrajyoti Majumder
  • 40,646
  • 13
  • 77
  • 103
Funny
  • 566
  • 5
  • 16
  • 1
    It says that compiler couldn't find a method. `Init` - is it constructor. As this comes from 3rd party library it is probably incompatibility problem. – FazoM Jun 19 '14 at 11:10
  • See http://stackoverflow.com/questions/35186/how-do-i-fix-a-nosuchmethoderror – Raedwald Jun 19 '14 at 12:10

0 Answers0