I have a java app which uses solrj jar to communicate to apache solr 8 and 9. Recently due to security vulnerabilities in solr-solrj-6.6.1.jar i upgraded to solr-solrj-8.11.3.jar. Compilation was successfull. But at runtime i’m unable to get any cores and could see these logs in my java app logs.
This is the excerpt of the java app log :
2024-05-15; 16:03:40.800 ***** exception: (hash:376089095) java.lang.NoClassDefFoundError: org/apache/zookeeper/KeeperException$NoNodeException
at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:698)
at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:266)
at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:248)
at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:225)
at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:242)