It looks like the input is malformed. You'll have to look at what it's reading and what it's seeing to understand why the input isn't correct there, but it works for me.
It's possible this is not the real error, so you might run with "-e" to see more about the error. On Wed, Feb 23, 2011 at 11:15 AM, Cristian Lai <[email protected]> wrote: > Dear All, > i'm trying to run the example by the command > > $MAVEN_HOME/bin/mvn -f pom.xml -q exec:java > -Dexec.mainClass="org.apache.mahout.cf.taste.example.bookcrossing.BookCrossingRecommenderEvaluatorRunner" > -Dexec.args="-i tmp/million-ml-data/ratings.dat" > > My environment has: > Maven version is 3.0.2 > Java version 1.6.0_22 > > The error i get is the following: > > Feb 23, 2011 11:43:15 AM org.slf4j.impl.JCLLoggerAdapter info > INFO: Creating FileDataModel for file > /var/folders/qN/qNNZz6mEGCm0xe6CxuiceE+++TI/-Tmp-/taste.bookcrossing.txt > [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:java > (default-cli) on project mahout-examples: An exception occured while > executing the Java class. null: InvocationTargetException: Did not find a > delimiter in first line -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.codehaus.mojo:exec-maven-plugin:1.2:java (default-cli) on project > mahout-examples: An exception occured while executing the Java class. null > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) > > Anybody can help me? > > Best regards. > > cristian >
