This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Help with a Build Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Help with a Build Error" Watch "Help with a Build Error" New topic
Author

Help with a Build Error

Fred Victa
Ranch Hand

Joined: May 01, 2008
Posts: 125
When I try to build my project with maven, I get a build error that says, "package org.apache.http does not exist."How can I correct this problem?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14608
    
  25

It most likely means that you have forgotten to include some library in the dependencies in your pom.xml file.

Looking at the package name, it's probably Apache HttpClient that's missing.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19914
    
  23

Moving to our build tools forum.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help with a Build Error