Hi ergodic (or is it 7?),

ergodic 7 <[EMAIL PROTECTED]> wrote on 22.08.2005 04:51:55:

> Exception in thread "Thread-1"
> java.lang.NoSuchMethodError:
> 
org.apache.commons.httpclient.methods.GetMethod.getResponseContentLength()
> 
> The docs state that this function returns  -1 if no
> content length is available. Why is the exception
> thrown? All the required files are in my class path.

Could you be a little more specific about "all the required files"?
Which version of HttpClient are you using? Have you made sure that
the same version you compile against is present at runtime? Have you
made sure that only one version of HttpClient is present at runtime?

hope that helps,
  Roland


> My program works well once the line 
> 
> this.fileSize=getMethod.getResponseContentLength();
> 
> is not included.
> 
> Please note that no compile errors are generated.
> 
> Any help is apreciated
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to