0
我是Mahout的新成員,我有一個星期試圖運行書籍示例。本書建議爲此使用IDE,但Eclipse和Netbeans在Maven和slf4j安裝中遇到了一些麻煩,這就是爲什麼我嘗試使用ubuntu 13.04終端的原因。任何人都可以幫助我嗎?我從Git倉庫的0.7分支下載源代碼,並試圖使其工作執行以下步驟:Mahout in Action示例不起作用
- 與
$sudo apt-get install maven
(它安裝3.0.4版本) - 安裝Maven解壓壓縮文件並運行命令
$ mvn package
(我想我必須修改POM文件,但我不確定) - 當完成包命令時,它顯示我生成成功消息
- 然後我想運行其中一個例子是
$ mvn exec:java -Dexec.mainClass="mia.recommender.ch02.IREvaluatorIntro" -Dexec.args="src"
命令,但是當我運行它時顯示我:提前
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.424s
[INFO] Finished at: Wed Jul 10 10:43:36 PDT 2013
[INFO] Final Memory: 8M/19M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project mia: An exception occured while executing the Java class. null: InvocationTargetException: intro.csv -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
謝謝!
嘗試使用trunk(0.8)。無論如何,它很快就會被釋放。 –