You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Thijs <vo...@gmail.com> on 2012/06/12 15:22:21 UTC

SolrJ dependencies

Hi
I just checked out and build solr&lucene from branches/lucene_4x

I wanted to upgrade my custom client to this new version (using solrj).
So I copied lucene/solr/dist/apache-solr-solrj-4.0-SNAPSHOT.jar &  
lucene/solr/dist/apache-solr-core-4.0-SNAPSHOT.jar to my project and I 
updated the other libs from the libs in /solr/dist/solrj-lib

However, when I wanted to run my client I got exceptions indicating that 
I was missing the HTTPClient jars. (httpclient, htpcore,httpmime)
Shouldn't those go into lucene/solr/dist/solrj-lib as wel?
Do I need to create a ticket for this?

Thijs




Re: SolrJ dependencies

Posted by Thijs <vo...@gmail.com>.
Done see:
https://issues.apache.org/jira/browse/SOLR-3541

On 12-6-2012 18:39, Sami Siren wrote:
> On Tue, Jun 12, 2012 at 4:22 PM, Thijs <vo...@gmail.com> wrote:
>> Hi
>> I just checked out and build solr&lucene from branches/lucene_4x
>>
>> I wanted to upgrade my custom client to this new version (using solrj).
>> So I copied lucene/solr/dist/apache-solr-solrj-4.0-SNAPSHOT.jar &
>>   lucene/solr/dist/apache-solr-core-4.0-SNAPSHOT.jar to my project and I
>> updated the other libs from the libs in /solr/dist/solrj-lib
>>
>> However, when I wanted to run my client I got exceptions indicating that I
>> was missing the HTTPClient jars. (httpclient, htpcore,httpmime)
>> Shouldn't those go into lucene/solr/dist/solrj-lib as wel?
> Yes they should.
>
>> Do I need to create a ticket for this?
> Please do so.
>
> --
>   Sami Siren



Re: SolrJ dependencies

Posted by Sami Siren <ss...@gmail.com>.
On Tue, Jun 12, 2012 at 4:22 PM, Thijs <vo...@gmail.com> wrote:
> Hi
> I just checked out and build solr&lucene from branches/lucene_4x
>
> I wanted to upgrade my custom client to this new version (using solrj).
> So I copied lucene/solr/dist/apache-solr-solrj-4.0-SNAPSHOT.jar &
>  lucene/solr/dist/apache-solr-core-4.0-SNAPSHOT.jar to my project and I
> updated the other libs from the libs in /solr/dist/solrj-lib
>
> However, when I wanted to run my client I got exceptions indicating that I
> was missing the HTTPClient jars. (httpclient, htpcore,httpmime)
> Shouldn't those go into lucene/solr/dist/solrj-lib as wel?

Yes they should.

> Do I need to create a ticket for this?

Please do so.

--
 Sami Siren

Re: SolrJ dependencies

Posted by Jack Krupansky <ja...@basetechnology.com>.
Maybe the migration from the "EOL" Commons HTTP Client to HTTP Components 
has something to do with this. The wiki probably needs Solr release-specific 
instructions. And maybe the lib folder is not quite right.

You can read about the migration here:
https://issues.apache.org/jira/browse/SOLR-2020

So, maybe you have some migration to do as well, or maybe something isn't 
quite right.

-- Jack Krupansky

-----Original Message----- 
From: Thijs
Sent: Tuesday, June 12, 2012 9:22 AM
To: solr-user@lucene.apache.org
Subject: SolrJ dependencies

Hi
I just checked out and build solr&lucene from branches/lucene_4x

I wanted to upgrade my custom client to this new version (using solrj).
So I copied lucene/solr/dist/apache-solr-solrj-4.0-SNAPSHOT.jar &
lucene/solr/dist/apache-solr-core-4.0-SNAPSHOT.jar to my project and I
updated the other libs from the libs in /solr/dist/solrj-lib

However, when I wanted to run my client I got exceptions indicating that
I was missing the HTTPClient jars. (httpclient, htpcore,httpmime)
Shouldn't those go into lucene/solr/dist/solrj-lib as wel?
Do I need to create a ticket for this?

Thijs