Where ever you got the httpclient classpath link. I think and of the three
would work.
Just be sure to get all 3 .jar files in the path.
I used
set ClassPath=.;....
since the lib/ etc is just below the working directory.
Angso, Tony wrote:
>
> Thanks for the reply, but where do you specify the classpath?
> 1. in windows environment
> 2. in websphere jvm?
> 3. in project build path?
>
> Tony
>
>
> -----Original Message-----
> From: ggcampbell [mailto:g395@comcast.net]
> Sent: Thursday, November 08, 2007 4:52 PM
> To: httpclient-user@jakarta.apache.org
> Subject: Re: HttpClient No ClassDefFoundError
>
>
>
> CLASSPATH=.;lib/commons-httpclient-3.1-rc1.jar;lib/commons-logging-1.0.4
> .jar;lib/commons-codec-1.3.jar
>
>
>
> Angso, Tony wrote:
>>
>> Am trying to use commons-HttpClient, the jar is in my JVM classPath
>> and I get the error below
>>
>> java.lang.NoClassDefFoundError:
>> org.apache.commons.httpclient.HttpClient
>>
>> I tried using version 3.1 and 2.0.2 still the same resut.
>>
>> Is there dependencies to other commons-jar?
>>
>> Thanks
>>
>> Tony
>>
>> -----------------------------------------
>> This e-mail message and any attachments contain confidential
>> information from Medco. If you are not the intended recipient, you are
>
>> hereby notified that disclosure, printing, copying, distribution, or
>> the taking of any action in reliance on the contents of this
>> electronic information is strictly prohibited. If you have received
>> this e-mail message in error, please immediately notify the sender by
>> reply message and then delete the electronic message and any
>> attachments.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail:
>> httpclient-user-help@jakarta.apache.org
>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/https-and-aspx-tf4773539.html#a13656716
> Sent from the HttpClient-User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/https-and-aspx-tf4773539.html#a13657229
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
|