Hi Murali: Check it out: http://stackoverflow.com/questions/35186/how-do-i-fix-a-nosuchmethoderror
Regards ----- Original Message ----- > From: "Ganji Muralikrishna | BDD" <[email protected]> > To: [email protected] > Sent: Monday, December 28, 2015 2:23:54 AM > Subject: [MASSMAIL][Exception] Nutch 1.7, Solr 4.7 > > Hi All, > > I am getting the following exception while indexing output of Nutch crawl > (crawldb, linkdb, segments*). Have been going through various forums but > couldn't fix it. Can someone help me with the issue. > > Indexer: starting at 2015-12-28 12:00:18 > Indexer: deleting gone documents: false > Indexer: URL filtering: false > Indexer: URL normalizing: false > Active IndexWriters : > SOLRIndexWriter > solr.server.url : URL of the SOLR instance (mandatory) > solr.commit.size : buffer size when sending to SOLR (default 1000) > solr.mapping.file : name of the mapping file for fields (default > solrindex-mapping.xml) > solr.auth : use authentication (default false) > solr.auth.username : use authentication (default false) > solr.auth : username for authentication > solr.auth.password : password for authentication > > > Exception in thread "main" java.lang.NoSuchMethodError: > org.apache.solr.common.SolrException.<init>(ILjava/lang/String;)V > at > > org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430) > at > > org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244) > at > > org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117) > at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:168) > at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:146) > at > > org.apache.nutch.indexwriter.solr.SolrIndexWriter.commit(SolrIndexWriter.java:166) > at org.apache.nutch.indexer.IndexWriters.commit(IndexWriters.java:128) > at org.apache.nutch.indexer.IndexingJob.index(IndexingJob.java:127) > at org.apache.nutch.indexer.IndexingJob.run(IndexingJob.java:185) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) > at crawler.Crawler.index(Crawler.java:52) > at crawler.App.main(App.java:26) > > Code: Configuration conf = NutchConfiguration.create(); > conf.set("solr.server.url", "http://localhost:8983/solr/#/democore"); > ToolRunner.run(conf, new IndexingJob(), tokenize(this.indexCommand)); > > Thanks, > Murali > >

