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