+1 Please use latest nutch 1.6. Then, if you still see the same problem, to start debugging the issue, print the invocation statement in bin/nutch script. ie. add this at the end in the script: echo `$EXEC_CALL $CLASS "$@"`
This will show you all the classpath entires. My initial guess is that you have some directory structure (java home or nutch) with its name having a space character. PS: Cygwin is a *horrible* way around for working on shell. In all honesty there is no substitute for linux rather than running linux :) On Wed, May 15, 2013 at 12:23 PM, Lewis John Mcgibbney < [email protected]> wrote: > 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* >

