I tried adding the solr-core dependency but that caused the app to fail to deploy entirely.
On Wed, Jun 22, 2016 at 2:36 PM, Webster Homer <webster.ho...@sial.com> wrote: > I have an application that we wrote to support solr cloud collections. It > is a rest service that uses solrj. I am in the process of upgrading it to > use 6.1 Solr > > The application builds with maven. > > I get the following error: > Caused by: java.lang.NoClassDefFoundError: > org/apache/http/impl/client/CloseableHttpClient > at > org.apache.solr.client.solrj.impl.CloudSolrClient.<init>(CloudSolrClient.java:202) > [solr-solrj-6.1.0.jar:6.1.0 4726c5b2d2efa9ba160b608d46a977d0a6b83f94 - > jpountz - 2016-06-13 09:46:59] > > > Apparently the GAV org.apache.solr:solr-solrj:6.1.0 is no longer > sufficient > > This built and ran with Solr 4.10.4 but a lot has changed. > > So what do I need to add to make this work? > -- This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person. If you have received this transmission in error, please notify the sender immediately and delete the message and any attachment from your system. Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not accept liability for any omissions or errors in this message which may arise as a result of E-Mail-transmission or for damages resulting from any unauthorized changes of the content of this message and any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not guarantee that this message is free of viruses and does not accept liability for any damages caused by any virus transmitted therewith. Click http://www.merckgroup.com/disclaimer to access the German, French, Spanish and Portuguese versions of this disclaimer.