Did you build Mahout?
On Nov 27, 2011 12:03 PM, "bish maten" <[email protected]> wrote:

> I can run the examples under the mahout-distribution directory fine.
> However cannot run the bin/mahout command, gives following errors.
>
> mvn exec runs ok fine with mainClass (standard syntax) given (ran few
> example classes from cf.taste and they run fine)
>
>
> Following is command that gives error
> mahout-distribution-0.5$ bin/mahout
>
> no HADOOP_HOME set, running locally
>
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/mahout/driver/MahoutDriver
> > Caused by: java.lang.ClassNotFoundException:
> > org.apache.mahout.driver.MahoutDriver
> >     at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> >     at java.security.AccessController.doPrivileged(Native Method)
> >     at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> >     at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
> >     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> >     at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> > Could not find the main class: org.apache.mahout.driver.MahoutDriver.
> > Program will exit.
> >
>

Reply via email to