You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Stephen Weiss <sw...@stylesight.com> on 2012/08/03 16:09:57 UTC

Re: Problem running grouplens example

Thanks for your response!

I added that in but now I get this error in both versions:

INFO] Scanning for projects...
>
> [INFO]
>> ------------------------------------------------------------------------
>
> [ERROR] FATAL ERROR
>
> [INFO]
>> ------------------------------------------------------------------------
>
> [INFO] Error building POM (may not be this project's POM).
>
>
>>
>> Project ID: org.apache.mahout:mahout-integration
>
> POM Location: /home/sweiss/mahout-distribution-0.7/integration/pom.xml
>
> Validation Messages:
>
>
>>     [0]  'dependencies.dependency.version' is missing for
>> org.apache.mahout:mahout-examples:jar
>
>
>>
>> Reason: Failed to validate POM for project
>> org.apache.mahout:mahout-integration at
>> /home/sweiss/mahout-distribution-0.7/integration/pom.xml
>
>
>> ...
>
>
--
Steve

On Mon, Jul 30, 2012 at 5:17 PM, Sean Owen <sr...@gmail.com> wrote:

> Hmm. what happens if you add this to dependencies in integration?
>
>     <dependency>
>       <groupId>${project.groupId}</groupId>
>       <artifactId>mahout-examples</artifactId>
>     </dependency>
>
>
> On Mon, Jul 30, 2012 at 9:59 PM, Stephen Weiss <sw...@stylesight.com>
> wrote:
> > Hi,
> >
> > I am just getting started with Mahout so bear with me.  I'm trying to set
> > up the example for Taste using the instructions found here:
> >
> >
> https://cwiki.apache.org/confluence/display/MAHOUT/Recommender+Documentation
> > (under Demo)
> >
> > I have tried with versions 0.7 and 0.6, and everything goes fine until I
> > run mvn jetty:run.  Then, I get this error:
> >
> >
> > javax.servlet.ServletException: java.lang.IllegalStateException:
> > java.lang.ClassNotFoundException:
> > org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommender
> >
> > I see on this list there was a thread about this before:
> >
> >
> http://mail-archives.apache.org/mod_mbox/mahout-user/201201.mbox/%3CCANbytCjKuaHMyNpfvBC_OdEmWPhoeaMzA_32WzRNwjD_W00SFg@mail.gmail.com%3E
> >
> > But I followed the whole thread through and it doesn't look like anyone
> > provided an answer, at least one that I could understand.
> >
> > Can anyone provide some guidance as to how I get this demo to run?
> >  Thanks!!!
> >
> > --
> > Steve
>

Re: Problem running grouplens example

Posted by Sean Owen <sr...@gmail.com>.
Try...

    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>mahout-examples</artifactId>
      <version>0.7</version>
    </dependency>

On Fri, Aug 3, 2012 at 10:09 AM, Stephen Weiss <sw...@stylesight.com>wrote:

> Thanks for your response!
>
> I added that in but now I get this error in both versions:
>
> INFO] Scanning for projects...
> >
> > [INFO]
> >> ------------------------------------------------------------------------
> >
> > [ERROR] FATAL ERROR
> >
> > [INFO]
> >> ------------------------------------------------------------------------
> >
> > [INFO] Error building POM (may not be this project's POM).
> >
> >
> >>
> >> Project ID: org.apache.mahout:mahout-integration
> >
> > POM Location: /home/sweiss/mahout-distribution-0.7/integration/pom.xml
> >
> > Validation Messages:
> >
> >
> >>     [0]  'dependencies.dependency.version' is missing for
> >> org.apache.mahout:mahout-examples:jar
> >
> >
> >>
> >> Reason: Failed to validate POM for project
> >> org.apache.mahout:mahout-integration at
> >> /home/sweiss/mahout-distribution-0.7/integration/pom.xml
> >
> >
> >> ...
> >
> >
> --
> Steve
>
> On Mon, Jul 30, 2012 at 5:17 PM, Sean Owen <sr...@gmail.com> wrote:
>
> > Hmm. what happens if you add this to dependencies in integration?
> >
> >     <dependency>
> >       <groupId>${project.groupId}</groupId>
> >       <artifactId>mahout-examples</artifactId>
> >     </dependency>
> >
> >
> > On Mon, Jul 30, 2012 at 9:59 PM, Stephen Weiss <sw...@stylesight.com>
> > wrote:
> > > Hi,
> > >
> > > I am just getting started with Mahout so bear with me.  I'm trying to
> set
> > > up the example for Taste using the instructions found here:
> > >
> > >
> >
> https://cwiki.apache.org/confluence/display/MAHOUT/Recommender+Documentation
> > > (under Demo)
> > >
> > > I have tried with versions 0.7 and 0.6, and everything goes fine until
> I
> > > run mvn jetty:run.  Then, I get this error:
> > >
> > >
> > > javax.servlet.ServletException: java.lang.IllegalStateException:
> > > java.lang.ClassNotFoundException:
> > > org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommender
> > >
> > > I see on this list there was a thread about this before:
> > >
> > >
> >
> http://mail-archives.apache.org/mod_mbox/mahout-user/201201.mbox/%3CCANbytCjKuaHMyNpfvBC_OdEmWPhoeaMzA_32WzRNwjD_W00SFg@mail.gmail.com%3E
> > >
> > > But I followed the whole thread through and it doesn't look like anyone
> > > provided an answer, at least one that I could understand.
> > >
> > > Can anyone provide some guidance as to how I get this demo to run?
> > >  Thanks!!!
> > >
> > > --
> > > Steve
> >
>