Looks like, it doesn't matter, how I tried to make my package into Java, it
is not working.

Anyone can tell me a good reference to build the package
from scratch (I tried a few, and didn't work).
I am using window system.

I used the approach is given at:

https://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout

and also this blog

http://shuyo.wordpress.com/2011/02/01/mahout-development-environment-with-maven-and-eclipse-1/

I apparently, succeed to build the project, and all steps went through
(SUCCED)
and no error were generated.
As I mentioned, I am using Mahout 0.9,
I was not able to do the same using Mahout 0.5,0.6, 0.7 or other versions.

At this point, I just need to experiment in local window machine,
rather than running at amazon System or Hadoop machine.

Thanks


On Thu, Mar 20, 2014 at 8:27 PM, Ted Dunning <[email protected]> wrote:

> This looks like your class path is not set up correctly.
>
> You can try running with -verbose:class as a command line option and see if
> the Mahout classes are even being loaded.
>
>
>
> On Thu, Mar 20, 2014 at 5:30 PM, Masoud Nikravesh <[email protected]
> >wrote:
>
> > Exception in thread "main" java.lang.Error: Unresolved compilation
> > problems:
> > DataModel cannot be resolved to a type
> > FileDataModel cannot be resolved to a type
> > UserSimilarity cannot be resolved to a type
> > PearsonCorrelationSimilarity cannot be resolved to a type
> > UserNeighborhood cannot be resolved to a type
> > NearestNUserNeighborhood cannot be resolved to a type
> > Recommender cannot be resolved to a type
> > GenericUserBasedRecommender cannot be resolved to a type
> > RecommendedItem cannot be resolved to a type
> > RecommendedItem cannot be resolved to a type
> >
> > at mia.recommender.ch02.RecommenderIntro.main(RecommenderIntro.java:21)
> >  ================
> >
> > Looks like your dev environment is not set up correctly.
> >
> > Pop over to the Mahout mailing list and bring details about what Mahout
> > version you are using, what commands you are using and what kind of
> > environment you are using.
> >
> > Check out
> > https://mahout.apache.org/general/mailing-lists,-irc-and-archives.htmlfor
> > more info.
> >
> >
> > =================
> > More Info:
> > thanks for the pointer.
> >
> > MahOut: 0.9
> > Apache Maven 3.2.1
> > Eclipse: Kepler Release 2
> > Java: Latest 7
> >
> > I went through all the possible recommendations for this book
> > and also for MahOut
> >
> > The codes that are written for MahOut 0.5
> > looks like is not consistent to the latest version of MahOut and Maven,
> > ect.
> > I have even tried different versions or MahOut, no luck.
> > The error looks like related to the DataModel or/and Reading the CVS data
> > file.
> > Looks like the program is not compiling correctly.
> > I have set the environment like everyone else said, and I tried step by
> > step, and
> > looks like everything goes through and succeed.
> > So, no error till the last point. When I try to run the program, then I
> get
> > the error.
> >
> > Thanks
> > ========================
> >
>

Reply via email to