mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Norskog <goks...@gmail.com>
Subject Re: Running example
Date Fri, 10 Sep 2010 21:39:35 GMT
Which page is this from? There are two or three pages in the wiki that
show how to run these examples, this is is an older one that doesn't
work any more.

Try searching the Mahout wiki for
BookCrossingRecommenderEvaluatorRunner and you should find the latest,
working one.

On Fri, Sep 10, 2010 at 1:58 PM, Defenestrator
<defenestrationism@gmail.com> wrote:
> Hi,
>
> I'm following the quickstart directions and am running into an error trying
> to run an example.  Looks like BookCrossingRecommenderEvaluatorRunner is
> missing from the classpath.  But can someone give me a pointer on how to run
> this?
>
> 1. svn up on mahout/trunk
> 2. mvn install in core
> 3. mvn install in examples
> 4. mvn -q exec:java
> -Dexec.mainClass="org.apache.mahout.cf.taste.example.bookcrossing.BookCrossingRecommenderEvaluatorRunner"
> -X
>
> Error:
> org.apache.maven.lifecycle.LifecycleExecutionException: An exception occured
> while executing the Java class.
> org.apache.mahout.cf.taste.example.bookcrossing.BookCrossingRecommenderEvaluatorRunner
>    at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
>    at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
>    at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
>    at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>    at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>    at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>    at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>    at java.lang.reflect.Method.invoke(Method.java:597)
>    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: An exception
> occured while executing the Java class.
> org.apache.mahout.cf.taste.example.bookcrossing.BookCrossingRecommenderEvaluatorRunner
>    at org.codehaus.mojo.exec.ExecJavaMojo.execute(ExecJavaMojo.java:346)
>    at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
>    at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>    ... 17 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.mahout.cf.taste.example.bookcrossing.BookCrossingRecommenderEvaluatorRunner
>    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:307)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>    at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:284)
>    at java.lang.Thread.run(Thread.java:619)
>



-- 
Lance Norskog
goksron@gmail.com

Mime
View raw message