lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Archibald <patrick.archib...@gmail.com>
Subject Re: Problem instantiating CommonsHttpSolrServer using solrj
Date Sat, 14 Aug 2010 00:16:03 GMT
I went through jar hell yesterday. I finally got Solrj working.
http://jarfinder.com was a big help.

Rock on, PLA

Patrick L Archibald
http://patrickarchibald.com



On Fri, Aug 13, 2010 at 7:25 PM, Chris Hostetter
<hossman_lucene@fucit.org>wrote:

>
> :  I get the following runtime error:
> :
> : Exception in thread "main" java.lang.NoClassDefFoundError:
> : org/apache/solr/client/solrj/SolrServerException
> : Caused by: java.lang.ClassNotFoundException:
> : org.apache.solr.client.solrj.SolrServerException
>         ...
> : I am following the this link :  http://wiki.apache.org/solr/Solrj   ,and
> : have included all the jar files specified there, in the classpath.
>
> Are you certain?
>
> the class it can't find is
> org.apache.solr.client.solrj.SolrServerException which is definitely in
> the apache-solr-solrj-*.jar
>
> did you perchance copy the list of jars verbatim from that wiki? because
> someone seems to have made a typo and called it "solr-solrj-1.4.0.jar"
> instead of "apache-solr-solrj-1.4.0.jar" but if you actually *look* at the
> jars available, it's pretty obvious.
>
>
> -Hoss
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message