Dependency Clash : Google Collections and Guava
-----------------------------------------------
Key: MAHOUT-893
URL: https://issues.apache.org/jira/browse/MAHOUT-893
Project: Mahout
Issue Type: Bug
Components: collections
Affects Versions: 0.6
Environment: windows
Reporter: Paritosh Ranjan
Assignee: Benson Margulies
Fix For: 0.6
Attachments: MAHOUT-893
I tried to run the Recommender example in Mahout in Action Book.
DataModel model = new FileDataModel(new File("intro.csv"));
UserSimilarity similarity = new PearsonCorrelationSimilarity(model);
The dependencies from google collections and guava are clashing while
execution. Its picking some wrong class like Preconditions and few others which
is giving error on runtime. I fixed that by excluding google-collections. The
patch is attached which helped me fix this problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira