Cool, thanks; I fixed it by adding the generated-sources/org directory to
the source path..

Still have IntelliJ complaining about a bunch of things in the top-level
pom.xml, like hadoop module dependencies not found, maven plugins not
found, etc..


On Tue, Apr 16, 2013 at 1:24 PM, Ted Dunning <[email protected]> wrote:

> No need for Mahout to fix this because IntelliJ fixed this long ago.
>
> Just open the pom.xml file at the top level.  Then use the maven commands
> menu on the far right to compile once using maven.  Shazam, all fixed.
>
> Works best in IDEA 10 or more recent.  The most recent I have seen is
> 12.1.1.
>
>
>
> On Tue, Apr 16, 2013 at 8:00 PM, Andrew Musselman <
> [email protected]> wrote:
>
> > Ah it is in generated-sources.  So any class in there will be unavailable
> > to people's IDEs.
> >
> > Any interest in fixing this?
> >
> >
> > On Tue, Apr 16, 2013 at 12:47 PM, Andrew Musselman <
> > [email protected]> wrote:
> >
> > > Looks like OpenIntObjectHashMap is not in the release.
> > >
> > > Is this patched somewhere?
> > >
> > >
> > > On Tue, Apr 16, 2013 at 12:26 PM, Andrew Musselman <
> > > [email protected]> wrote:
> > >
> > >> Guys, using release 0.7 I have this complaint in my IDE(IntelliJ) for
> > >> org.apache.mahout.cf.taste.hadoop.als.FactorizationEvaluator
> > >> and org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJob:
> > >>
> > >> Here's the offending line for both classes:
> > >> import org.apache.mahout.math.map.OpenIntObjectHashMap;
> > >>
> > >> Am I missing a build step?  The test for parallel als factorization
> job
> > >> runs fine.
> > >>
> > >> Thanks
> > >> Andrew
> > >>
> > >
> > >
> >
>

Reply via email to