문제

How can I include mahout 0.9 libraries in play-framework 2.2. I have added the jar files in the build path of eclipse but when I run the play app the following error is displayed for mahout imports

error: package org.apache.mahout.cf.taste.model does not exist
도움이 되었습니까?

해결책

Include this line in build.sbt of play project

"org.apache.mahout" % "mahout-core" % "0.9"

Full build.sbt looks like this

name := <your_project_name>

version := "1.0-SNAPSHOT"

libraryDependencies ++= Seq(
  javaJdbc,
  javaEbean,
  cache,
  "org.apache.mahout" % "mahout-core" % "0.9"
)     

play.Project.playJavaSettings
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top