Steve Severance wrote:
> Hi all,
> I have a custom class in the nutch jar. Everything works fine in eclipse but
> when I try to run it from the command line using bin/nutch it throws the
> java.lang.NoClassDefFoundError. All the pages on the internet helpfully
> suggested that I make sure that the jar is in the classpath. I think that
>   

What needs to be on your classpath is the *.job jar. The bin/nutch 
script takes care of that if you built your Nutch using the command-line 
version of ant.

-- 
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-developers mailing list
Nutch-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to