Something was wrong on my machine, removing Nutch' build dir and cleanly 
rebuilding everything fixed the issue.
Thanks
 
-----Original message-----
> From:Mark Miller <markrmil...@gmail.com>
> Sent: Sat 03-Nov-2012 02:57
> To: solr-user@lucene.apache.org
> 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
> 

Reply via email to