Discussion:
Trouble compiling httpcomponents-client-4.5.2 due to missing org.apache.http.annotation.Immutable and org.apache.http.annotation.NotThreadSafe classes
Sachin Nikumbh
2016-08-19 18:26:44 UTC
Permalink
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
Oleg Kalnichevski
2016-08-19 19:16:01 UTC
Permalink
Post by Sachin Nikumbh
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-***@hc.apache.org
For additional commands, e-mail: httpclient-users-***@hc.apache.org
Loading...