You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Sachin Nikumbh <sa...@gmail.com> on 2016/08/19 18:26:44 UTC

Trouble compiling httpcomponents-client-4.5.2 due to missing org.apache.http.annotation.Immutable and org.apache.http.annotation.NotThreadSafe classes

Hi

I am trying to compile httpcomponents-client-4.5.2 and it's failing to find
bunch of classes including org.apache.http.annotation.Immutable,
org.apache.http.annotation.NotThreadSafe. Which package are these classes
part of? I would like to include the source for them in my project.

Any help would be greatly appreciated.

Thanks
Sachin

Re: Trouble compiling httpcomponents-client-4.5.2 due to missing org.apache.http.annotation.Immutable and org.apache.http.annotation.NotThreadSafe classes

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Fri, 2016-08-19 at 14:26 -0400, Sachin Nikumbh wrote:
> Hi
> 
> I am trying to compile httpcomponents-client-4.5.2 and it's failing to find
> bunch of classes including org.apache.http.annotation.Immutable,
> org.apache.http.annotation.NotThreadSafe. Which package are these classes
> part of? I would like to include the source for them in my project.
> 
> Any help would be greatly appreciated.
> 
> Thanks
> Sachin

Sachin

You should be compiling HttpClient 4.5.2 with HttpCore 4.4.4. Newer
versions of HttpCore no longer ship with annotations originally based on
CC-BY licensed source. See for details:

https://issues.apache.org/jira/browse/HTTPCLIENT-1743

Oleg


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