Vikram S
Vikram S

Reputation: 561

SolrjPopulator error with solr 6.3

I am trying to run the simple solrj api example and facing the below error.Any suggestions pls. enter image description here

Error:- enter image description here

Upvotes: 0

Views: 36

Answers (1)

freedev
freedev

Reputation: 30187

Looking at your code probably you're using an old version of SolrJ.

I suggest to upgrade your SolrJ version to use the following way to create your HTTP client:

String urlString = "http://localhost:8983/solr/person";
SolrClient solrClient = new HttpSolrClient.Builder(urlString).build();

Upvotes: 1

Related Questions