Cannot find symbol HttpClient
===

These kinds of things never made much sense to me. I am trying to use this class:

http://www.devdaily.com/java/jwarehouse/commons-httpclient-2.0.1/src/java/org/apache/commons/httpclient/ChunkedInputStream.java.shtml

Every time I compile I get a bunch of errors such as:


/ChunkedInputStream.java:85: cannot find symbol
symbol  : class HttpMethod
location: class .ChunkedInputStream
    private HttpMethod method;
            ^
/ChunkedInputStream.java:96: cannot find symbol
symbol  : class HttpMethod
location: class .ChunkedInputStream
        final InputStream in, final HttpMethod method) throws IOException {
                                    ^
/ChunkedInputStream.java:283: cannot find symbol
symbol  : variable HttpConstants
location: class .ChunkedInputStream
        String dataString = HttpConstants.getString(baos.toByteArray());
                            ^
/ChunkedInputStream.java:303: cannot find symbol
symbol  : class Header
location: class .ChunkedInputStream
        Header[] footers = HttpParser.parseHeaders(in);
        ^
/ChunkedInputStream.java:303: cannot find symbol
symbol  : variable HttpParser
location: class .ChunkedInputStream
        Header[] footers = HttpParser.parseHeaders(in);


Shouldn't I have access to these objects because it is a part of the package org.apache.commons.httpclient; ? I also added the apache http client jars to my application. What gives?