To amplify others comments, make sure that when you open the Mahout project, you actually just open the pom.xml file at the top-level. It is a bad idea to try to do anything like import existing sources because a significant amount of the code is generate which would make a naively configured. compilation break.
IntelliJ is smart enough to treat a pom as a project and will mostly do the right thing. One thing that it tends not to do is to actually generate the code in the math library. I would recommend doing one build using maven before depending completely on IntelliJ's internal build. Using -DskipTests can save a lot of time on that build. On Sun, Dec 23, 2012 at 4:30 AM, Robin Chesterman <[email protected] > wrote: > Hi everyone, I'm just starting out with Mahout - just bought Mahout in > Action! > > I'm using IntelliJ idea and got the latest Mahout from git, but it comes up > with about a hundred or so errors when I build the project (exclusively in > the 'math' section), such as: > > import org.apache.mahout.math.set.OpenIntHashSet; > > "Cannot resolve symbol OpenIntHashSet" > > Similar problems exist for DoubleArrayList, DoubleDoubleProcedure, and > others. > > > Sure enough, none of these classes exist. I must be making a basic error... > > > Thanks, > > > Robin >
