Hi , I was using bin version of Nutch 1.X and everything was working fine , I downloaded the source of Nutch 1.x and build it, In indexing phase it throws below exception. I am using below crawl command and it run well till parsing and fails at indexing with below exception.
./crawl -i -D solr.server.url=http://localhost:8983/solr/ /Users/manishverma/Manish/AML/nutch/urls testCrawl5/ 1 I see lot of people facing this but no answer . Please suggest. Indexing 20151115233845 to index /Users/manishverma/Downloads/nutchSrc/trunk/runtime/local/bin/nutch index -Dsolr.server.url=http://localhost:8983/solr/ testCrawl5//crawldb -linkdb testCrawl5//linkdb testCrawl5//segments/20151115233845 Indexer: starting at 2015-11-15 23:39:02 Indexer: deleting gone documents: false Indexer: URL filtering: false Indexer: URL normalizing: false Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/solr/client/solrj/SolrServerException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2585) at java.lang.Class.getConstructor0(Class.java:2885) at java.lang.Class.newInstance(Class.java:350) at org.apache.nutch.plugin.Extension.getExtensionInstance(Extension.java:161) at org.apache.nutch.indexer.IndexWriters.<init>(IndexWriters.java:55) at org.apache.nutch.indexer.IndexingJob.index(IndexingJob.java:121) at org.apache.nutch.indexer.IndexingJob.run(IndexingJob.java:222) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.nutch.indexer.IndexingJob.main(IndexingJob.java:231) Caused by: java.lang.ClassNotFoundException: org.apache.solr.client.solrj.SolrServerException at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 10 more Error running: /Users/manishverma/Downloads/nutchSrc/trunk/runtime/local/bin/nutch index -Dsolr.server.url=http://localhost:8983/solr/ testCrawl5//crawldb -linkdb testCrawl5//linkdb testCrawl5//segments/20151115233845 Thanks Manish Verma AML Search +1 669 224 9924

