Hi, i added the follow dependancy to Apache Nutch:
org="org.apache.solr" name="solr-solrj" rev="4.0.0"
-----Original message-----
> From:Lance Norskog <goks...@gmail.com>
> Sent: Sat 03-Nov-2012 04:34
> To: solr-user@lucene.apache.org; markrmil...@gmail.com
> Subject: Re: trouble instantiating CloudSolrServer
>
> What is the maven repo id & version for this?
>
> ----- Original Message -----
> | From: "Mark Miller" <markrmil...@gmail.com>
> | To: solr-user@lucene.apache.org
> | Sent: Friday, November 2, 2012 6:52:10 PM
> | Subject: Re: trouble instantiating CloudSolrServer
> |
> | I think the maven jars must be out of whack?
> |
> | On Fri, Nov 2, 2012 at 6:38 AM, Markus Jelsma
> | <markus.jel...@openindex.io> wrote:
> | > Hi,
> | >
> | > We use trunk but got SolrJ 4.0 from Maven. Creating an instance of
> | > CloudSolrServer fails because its constructor calls a not existing
> | > LBServer constructor, it attempts to create an instance by only
> | > passing a HttpClient. How is LBHttpSolrServer supposed to work
> | > without passing a SolrServer URL to it?
> | >
> | > public CloudSolrServer(String zkHost) throws
> | > MalformedURLException {
> | > this.zkHost = zkHost;
> | > this.myClient = HttpClientUtil.createClient(null);
> | > this.lbServer = new LBHttpSolrServer(myClient);
> | > this.updatesToLeaders = true;
> | > }
> | >
> | > java.lang.NoSuchMethodError:
> | >
> org.apache.solr.client.solrj.impl.LBHttpSolrServer.<init>(Lorg/apache/http/client/HttpClient;[Ljava/lang/String;)V
> | > at
> | >
> org.apache.solr.client.solrj.impl.CloudSolrServer.<init>(CloudSolrServer.java:84)
> | >
> | > Thanks,
> | > Markus
> |
> |
> |
> | --
> | - Mark
> |
>