Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
"import org.apache.http.HttpRequest;" Cannot be Resolved
Natalie Kopple
Ranch Hand
Posts: 325
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Under the "package" and above the "public class ...", I put
import org.apache.http.HttpRequest;
I got the error message saying that import statement cannot be resolved. Please help. Thank you.
Jesper de Jong
Java Cowboy
Posts: 16084
88
I like...
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You must add the JAR file that contains this class to the classpath. It's probably the
Apache HttpClient
library.
Jesper's Blog
-
Pluralsight Author Page
Natalie Kopple
Ranch Hand
Posts: 325
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks a lot. I am missing a JAR.
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Trying to Redirect. 302 Error. HTTP CLIENT
import java.io.Console cannot be resolved
Tomcat deployement Problem SEVERE: Error listenerStart
Get Request Instance ID and Request Start Time from HTTP Request
Porting application in JDK1.1 to JDK1.3
More...