Hi

Check into the folder of the indexer-solr plugin whether exist the 
solr-solrj-4.10.2.jar library.

Regards

----- Mensaje original -----
> De: "Roannel Fernández Hernández" <[email protected]>
> Para: [email protected]
> Enviados: Miércoles, 18 de Noviembre 2015 9:03:38
> Asunto: Re: [MASSMAIL]Crawl Command - Getting Exception While Indexing With 
> Solr
> 
> Hi
> 
> What version of Nutch you downloaded exactly?
> 
> Regards
> 
> ----- Mensaje original -----
> > De: "Manish Verma" [email protected]>
> > Para: [email protected]
> > Enviados: Lunes, 16 de Noviembre 2015 12:36:46
> > Asunto: [MASSMAIL]Crawl Command - Getting Exception While Indexing With
> > Solr
> > 
> > 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
> > 
> > 
> Noviembre 13-14: Final Caribeña 2015 del Concurso de Programación ACM-ICPC
> https://icpc.baylor.edu/regionals/finder/cf-2015
> Noviembre 13-14: Final Caribeña 2015 del Concurso de Programación ACM-ICPC
> https://icpc.baylor.edu/regionals/finder/cf-2015
> 
Noviembre 13-14: Final Caribeña 2015 del Concurso de Programación ACM-ICPC
https://icpc.baylor.edu/regionals/finder/cf-2015

Reply via email to