Hi Shobha,
The is merely a class loading problem. You need to ensure that the class is
available on your classpath.
Although the problem you are having has nothing to do with this, my advice
is to not use Nutch 1.2.
Best
LEwis


On Wed, May 15, 2013 at 5:01 AM, Shobha <[email protected]> wrote:

> Am using nutch 1.2,cygwin
>
> when i execute ./bin/nutch am getting this error..plz help
>
> $ ./bin/nutch crawl
> java.lang.NoClassDefFoundError: org/apache/nutch/crawl/Crawl
> Caused by: java.lang.ClassNotFoundException: org.apache.nutch.crawl.Crawl
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: org.apache.nutch.crawl.Crawl.  Program will
> exit.
> Exception in thread "main"
>



-- 
*Lewis*

Reply via email to