Hi, I'm having an issue installing mahout to run the taste-web example.
I'm following these instructions (http://lucene.apache.org/mahout/taste.html#demo): To build and run the demo, follow the instructions below, which are written for Unix-like operating systems: 1. Obtain a copy of the Mahout distribution, either from SVN or as a downloaded archive. Obtained revision 942091 2. Download the "1 Million MovieLens Dataset" from http://www.grouplens.org/. 3. Unpack the archive and copy movies.dat and ratings.dat to trunk/taste-web/src/main/resources/org/apache/mahout/cf/taste/example/grouplens under the Mahout distribution directory. 4. Navigate to the directory where you unpacked the Mahout distribution, and navigate totrunk. 5. Runmvn install, which builds and installs Mahout core to your local repository 6. cd taste-web 7. cp ../examples/target/grouplens.jar ./lib 8. Edit recommender.properties and fill in therecommender.class: recommender.class=org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommender 9. mvn package 10. mvn jetty:run-war. You may need to give Maven more memory: in a bash shell, export MAVEN_OPTS=-Xmx1024M 11. Get recommendations by accessing the web application in your browser: http://localhost:8080/RecommenderServlet?userID=1 This will produce a simple preference-item ID list which could be consumed by a client application. Get more useful human-readable output with the debug parameter: http://localhost:8080/RecommenderServlet?userID=1&debug=true At step five I got this compilation errors in utils: [INFO] Building Mahout Utilities [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] [resources:copy-resources {execution: copy-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Compiling 16 source files to /home/saul/workspace/lucene/mahout/trunk/utils/target/test-classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /home/saul/workspace/lucene/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java:[61,7] cannot access org.apache.mahout.math.MahoutTestCase class file for org.apache.mahout.math.MahoutTestCase not found public class TestClusterDumper extends MahoutTestCase { /home/saul/workspace/lucene/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java:[78,4] cannot find symbol symbol : variable super location: class org.apache.mahout.clustering.TestClusterDumper /home/saul/workspace/lucene/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java:[83,54] cannot find symbol symbol : method getTestTempFilePath(java.lang.String) location: class org.apache.mahout.clustering.TestClusterDumper /home/saul/workspace/lucene/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java:[76,2] method does not override or implement a method from a supertype /home/saul/workspace/lucene/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java:[143,18] cannot find symbol symbol : method getTestTempDirPath(java.lang.String) location: class org.apache.mahout.clustering.TestClusterDumper /home/saul/workspace/lucene/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java:[144,24] cannot find symbol symbol : method getTestTempDirPath(java.lang.String) location: class org.apache.mahout.clustering.TestClusterDumper /home/saul/workspace/lucene/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java:[154,18] cannot find symbol symbol : method getTestTempDirPath(java.lang.String) location: class org.apache.mahout.clustering.TestClusterDumper /home/saul/workspace/lucene/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java:[155,24] cannot find symbol symbol : method getTestTempDirPath(java.lang.String) location: class org.apache.mahout.clustering.TestClusterDumper /home/saul/workspace/lucene/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java:[158,24] cannot find symbol symbol : method getTestTempDirPath(java.lang.String) location: class org.apache.mahout.clustering.TestClusterDumper /home/saul/workspace/lucene/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java:[168,18] cannot find symbol symbol : method getTestTempDirPath(java.lang.String) location: class org.apache.mahout.clustering.TestClusterDumper /home/saul/workspace/lucene/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java:[169,24] cannot find symbol symbol : method getTestTempDirPath(java.lang.String) location: class org.apache.mahout.clustering.TestClusterDumper /home/saul/workspace/lucene/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java:[172,29] cannot find symbol symbol : method getTestTempDirPath(java.lang.String) location: class org.apache.mahout.clustering.TestClusterDumper /home/saul/workspace/lucene/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java:[182,18] cannot find symbol symbol : method getTestTempDirPath(java.lang.String) location: class org.apache.mahout.clustering.TestClusterDumper /home/saul/workspace/lucene/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java:[183,33] cannot find symbol symbol : method getTestTempDirPath(java.lang.String) location: class org.apache.mahout.clustering.TestClusterDumper /home/saul/workspace/lucene/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java:[192,18] cannot find symbol symbol : method getTestTempDirPath(java.lang.String) location: class org.apache.mahout.clustering.TestClusterDumper /home/saul/workspace/lucene/mahout/trunk/utils/src/test/java/org/apache/mahout/clustering/TestClusterDumper.java:[194,27] cannot find symbol symbol : method getTestTempDirPath(java.lang.String) location: class org.apache.mahout.clustering.TestClusterDumper [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: Compilation failure at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) 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.CompilationFailureException: Compilation failure at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) at org.apache.maven.plugin.TestCompilerMojo.execute(TestCompilerMojo.java:102) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 minutes 7 seconds [INFO] Finished at: Fri May 07 10:33:29 VET 2010 [INFO] Final Memory: 71M/358M [INFO] ------------------------------------------------------------------------ All this was done in a ubuntu 9.10 64bits box. The wierd thing is that mvn compile in utils was successfull so I guess there are some issues with application paths, but I'm new to maven so I've reached a dead end. Anyone have a clue of what may be wrong? Thanks in advance, Saúl Moncada