hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Glück <...@odi.ch>
Subject Re: Downloadproblems
Date Tue, 03 Jan 2006 22:34:14 GMT
You need to download the dependencies as well. Please see 
http://jakarta.apache.org/commons/httpclient/dependencies.html

Gerdes, Tom wrote:
> I am trying to use the commons-httpclient-3.0.jar and running my application and I a
getting an error the first time that I try to execute a get method.  It is saying that the
class org/apache/commons/codec/net/URLCodec is not found.  Where is that class supposed to
be if it is not in the commons-httpclient-3.0.jar file.
> 
> Here is my log entry:
> 
> Attempting to contact host...https://miwebcombank.ebanking-services.com/Nubi/signin.asp
> The URI get1: https://miwebcombank.ebanking-services.com/Nubi/signin.aspx           
  
> Main Exception: java.lang.NoClassDefFoundError: org/apache/commons/codec/net/URLCodec
 
> java.lang.NoClassDefFoundError: org/apache/commons/codec/net/URLCodec               
  
>         at java.lang.Throwable.<init>(Throwable.java:195)                     
        
>         at java.lang.Error.<init>(Error.java:49)                              
        
>         at java.lang.NoClassDefFoundError.<init>(NoClassDefFoundError.java:40)
        
>         at org.apache.commons.httpclient.URI.decode(URI.java:1766)                  
  
>         at org.apache.commons.httpclient.URI.decode(URI.java:1724)                  
  
>         at org.apache.commons.httpclient.URI.getHost(URI.java:2781)                 
  
>         at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:106)   
        
>         at org.apache.commons.httpclient.HttpMethodBase.setURI(HttpMethodBase.java:276)
>         at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:217)
>         at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:88)
  
>         at BANKMIJ2.main(BANKMIJ2.java:77)                                          
  
> 
> -----Original Message-----
> From: Michael Becke [mailto:mbecke@gmail.com] 
> Sent: Tuesday, January 03, 2006 3:50 PM
> To: HttpClient Project
> Subject: Re: Downloadproblems
> 
> It was compiled with a 1.3 JDK.
> 
> Mike
> 
> On 1/3/06, Gerdes, Tom <TGerdes@oldrepublictitle.com> wrote:
> 
>>Do you know what level of JDK (1.4, 1.5, etc.) that commons_httpclient_3.0.jar was
created with?
>>
>>-----Original Message-----
>>From: Ortwin Glück [mailto:odi@odi.ch]
>>Sent: Tuesday, January 03, 2006 9:15 AM
>>To: HttpClient Project
>>Subject: Downloadproblems
>>
>>Tom,
>>
>>I can't reproduce this. It downloads okay from mirror.switch.ch.
>>
>>Ortwin Glück
>>
>>PS: Next time please don't reply to an email that is unrelated to your
>>problem but instead create a new one.
>>
>>Gerdes, Tom wrote:
>>
>>>I was trying to download the binary version of httpclient_3.0 from the
>>>httpclient web site and the download get halfway through and stalls.  I
>>>tried to download from several different mirrors with the same result.
>>>Can anyone helo me with this?
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Mime
View raw message