Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 2246 invoked from network); 6 Jun 2004 21:38:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Jun 2004 21:38:29 -0000 Received: (qmail 87010 invoked by uid 500); 6 Jun 2004 21:38:23 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 86948 invoked by uid 500); 6 Jun 2004 21:38:22 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 86935 invoked by uid 99); 6 Jun 2004 21:38:22 -0000 Received: from [64.62.137.182] (HELO expiron.wiredhat.com) (64.62.137.182) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 06 Jun 2004 14:38:22 -0700 Received: from lsanca2-ar31-4-42-104-239.lsanca2.dsl-verizon.net ([4.42.104.239] helo=[127.0.0.1]) by expiron.wiredhat.com with asmtp (Exim 4.24) id 1BX5LA-0006bm-5x for commons-user@jakarta.apache.org; Sun, 06 Jun 2004 14:38:04 -0700 Message-ID: <40C38EC1.30103@bancbridge.com> Date: Sun, 06 Jun 2004 14:38:09 -0700 From: Kedar Panse User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: commons-user@jakarta.apache.org Subject: [HTTPCLINET 3.0 -alpha] org/apache/commons/codec/DecoderException Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - expiron.wiredhat.com X-AntiAbuse: Original Domain - jakarta.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - bancbridge.com X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I am trying to use HTTPClient 3.0 alpha.... getting DecoderException OS: XP Home Processor: P4 (Intel) JDK: 1.5.0 beta1 import org.apache.commons.httpclient.*; import org.apache.commons.logging.*; import org.apache.commons.httpclient.methods.*; public class HTTPCtest{ public static void main(String[] argv){ try{ HttpClient client = new HttpClient(); HttpMethod method = new GetMethod("http://www.google.com/"); int statusCode = client.executeMethod(method); System.out.println(method.getResponseBodyAsString()); method.releaseConnection(); }catch(Exception e){ e.printStackTrace(); } } } java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException at org.apache.commons.httpclient.HttpMethodBase.(HttpMethodBase.java:202) at org.apache.commons.httpclient.methods.GetMethod.(GetMethod.java:88) at HTTPCtest.main(HTTPCtest.java:11) Exception in thread "main" Any guesses?? Thanks, Kedar --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org