You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Tom Gullo <to...@gmail.com> on 2014/02/15 01:46:45 UTC
conflicting java library problem
I've got bolts that are using the Solrj (solr-solrj) library and the
component and version Solrj uses -
'org.apache.httpcomponents:httpclient:4.2.3' - conflicts with the version
Storm uses, version 4.1.1. Because Solr is expecting a method
(SchemeRegistryFactory.createSystemDefault) it throws No Such Method
error. I can't exclude 4.1.1 as far as I can see because Storm is not part
of my "uber" jar.
Any ideas on how to solve this problem? Are the Storm libraries going to
be updated anytime soon. 4.1.1 of httpclient is about 2 years old.
Thanks
-Tom
Re: conflicting java library problem
Posted by Tom Gullo <to...@gmail.com>.
It looks like a similar topic was discusses regarding httpclient here:
http://mail-archives.apache.org/mod_mbox/incubator-storm-user/201402.mbox/%3CCAKgXx6LWetozLvv6RCHYamD0gXwNvLMi9-NnhM4ghQn%3DC5%2BnfA%40mail.gmail.com%3E
I'll look into the shade plugin with Maven.
On Fri, Feb 14, 2014 at 7:46 PM, Tom Gullo <to...@gmail.com> wrote:
> I've got bolts that are using the Solrj (solr-solrj) library and the
> component and version Solrj uses -
> 'org.apache.httpcomponents:httpclient:4.2.3' - conflicts with the version
> Storm uses, version 4.1.1. Because Solr is expecting a method
> (SchemeRegistryFactory.createSystemDefault) it throws No Such Method
> error. I can't exclude 4.1.1 as far as I can see because Storm is not part
> of my "uber" jar.
>
> Any ideas on how to solve this problem? Are the Storm libraries going to
> be updated anytime soon. 4.1.1 of httpclient is about 2 years old.
>
> Thanks
>
> -Tom
>
>
>