mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Way Cool <way1.wayc...@gmail.com>
Subject Circular dependency issue between examples and integration?
Date Tue, 24 Jan 2012 20:39:49 GMT
Hi, guys,

I was trying to following the doc below:
https://cwiki.apache.org/MAHOUT/recommender-documentation.html

When I run jetty:run under integration from svn trunk, I am getting the
following class not found exception:

[INFO] Webapp directory = /home/
yugang.hu/opensource/mahout/mahout-trunk/integration/src/main/webapp
[INFO] Starting jetty 6.1.10 ...
2012-01-24 13:31:03.709::INFO:  jetty-6.1.10
2012-01-24 13:31:04.842::INFO:  No Transaction manager found - if your
webapp requires one, please configure one.
2012-01-24 13:31:05.233::WARN:  failed taste-recommender
javax.servlet.ServletException: java.lang.IllegalStateException:
java.lang.ClassNotFoundException:
org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommender
    at
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:437)
    at
org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
    at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:612)
    at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
    at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
    at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
    at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
    at
org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:110)
    at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
    at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    at org.mortbay.jetty.Server.doStart(Server.java:222)

That's mainly because the class GroupLensRecommender is defined in examples
project, which depends on integration project, and integration project is
trying to load the class...

Have you guys seen the issue as well?

Thanks,

YG

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message