Ok, so if I understand that correctly, I must copy the MySQL Connector/J
into <mahout>/taste-web/lib, then make a mvn package and the connector
should work? But the problem is my recommender class. For test purposes
I just edited the grouplens example to make a MySQLDataModel instead of
a FileDataModel but I can't compile this file because of the unsolved
dependencies (mahout deps on my local environment via Eclipse, or MySQL
Connector deps on my server (e.g. with overwriting the grouplens
examples and compile the examples again)). Do you know a way to compile
those source files without the need of those deps (it's a never ending
circle :) )?
Am 16.02.2011 15:02, schrieb Sean Owen:
This pretty much says it all:
https://cwiki.apache.org/MAHOUT/recommender-documentation.html
To be clear: you have to use MySQL Connector/J. It's just used in your
container (Tomcat), not at compile-time in your web app.
2011/2/16 Daniel Mühlbachler<[email protected]>:
Ok, thanks and what should I do to get a taste-web recommender with
MySQLDataModel running?
The purpose of this recommender is that I can connect to them via SOAP web
service with my web application. Moreover, I am using the same table used
for this recommender for my own purposes too. So there is a need for me to
get such a recommender working properly.
However, it's not really necessary to use the MySQL Connector as a
dataSource for my MySQLDataModel if there is an easier possibility.