• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"import org.apache.http.HttpRequest;" Cannot be Resolved

 
Natalie Kopple
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Under the "package" and above the "public class ...", I put I got the error message saying that import statement cannot be resolved. Please help. Thank you.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15441
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You must add the JAR file that contains this class to the classpath. It's probably the Apache HttpClient library.
 
Natalie Kopple
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot. I am missing a JAR.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic