SolrJ throws a NoHttpResponseException when trying to instantiate an HttpSolrServer. Does anyone know why?
In the code I'm doing:
SolrServer server = new HttpSolrServer ("http://localhost:8983/solr/"); // or some other url.
and he throws:
javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/http/NoHttpResponseException
I am using Solr and SolrJ 4.1.0
source
share