Re: Bad return type exception

2016-01-11 Thread Asanka Sanjaya Herath
Hi Shawn, Thank you for your explanation. Yes, without Oozie the project runs successfully. On Mon, Jan 11, 2016 at 1:03 PM, Shawn Heisey wrote: > On 1/10/2016 11:56 PM, Asanka Sanjaya Herath wrote: > > I tried to create a solr client using following code. > > > &g

Bad return type exception

2016-01-10 Thread Asanka Sanjaya Herath
Hi, I tried to create a solr client using following code. ​ solrClient = new CloudSolrClient(zkHost); solrClient.setDefaultCollection(solrCollection); ​ Solr4j version:5.4.0 ​Project built successfully but in run time I get following error.​ Any help is appreciated. Main class [org.apache.oozi