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_luc...@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
>
>

Reply via email to