lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: EmbeddedSolrServer
Date Thu, 02 May 2013 19:17:41 GMT
because some of the underlying classes in SolrJ try to communicate
with Zookeeper to intelligently route requests to leaders.

It looks like you don't have your classpath pointed at the
dist/solrj-lib, at least that would be my first guess...

Best
Erick

On Wed, May 1, 2013 at 7:51 AM, Peri Subrahmanya
<peri.subrahmanya@htcinc.com> wrote:
> I m trying to use the EmbeddedSolrServer and here is my sample code:
>
> CoreContainer.Initializer initializer = new CoreContainer.Initializer();
> CoreContainer coreContainer = initializer.initialize();
> EmbeddedSolrServer server = new EmbeddedSolrServer(coreContainer, "");
>
> Upon running I get the following exception - java.lang.NoClassDefFoundError:
> org/apache/solr/common/cloud/ZooKeeperException.
>
> I m not sure why its complaining about ZooKeeper. Any ideas please?
>
> Thank you,
> Peri Subrahmanya
>
>
>
>
> *** DISCLAIMER *** This is a PRIVATE message. If you are not the intended recipient,
please delete without copying and kindly advise us by e-mail of the mistake in delivery.
> NOTE: Regardless of content, this e-mail shall not operate to bind HTC Global Services
to any order or other contract unless pursuant to explicit written agreement or government
initiative expressly permitting the use of e-mail for such purpose.

Mime
View raw message