On 5/12/2015 12:33 PM, Steven White wrote:
> Hi Everyone,
>
> I am trying to use SolrJ to add docs to Solr. The following line:
>
> HttpSolrClient solrServer = new HttpSolrClient("
> http://localhost:8983/solr";);
>
> Is failing with exception:
>
> Exception in thread "main" java.lang.NoCl
Hi Steve,
You can find list of dependencies in its pom:
http://central.maven.org/maven2/org/apache/solr/solr-solrj/5.1.0/solr-solrj-5.1.0.pom
It would be best if you use some dependency management tool. You can use
it in separate project to create all-in-one jar and than include that
one in y