Hi Do, I don't really have experience with sbt, but one thing that might cause problems is that your dependencies point to Flink 0.9.1 and gelly-scala wasn't part of that release. You can either try to use the 0.10-SNAPSHOT or wait a few days for the 0.10 release.
Cheers, -Vasia. On 27 October 2015 at 18:05, Le Quoc Do <lequo...@gmail.com> wrote: > Hi, > > I try to compile flink-gelly-scala using sbt. However, I got the following > error: > > *error] > /home/ubuntu/git/flink-learning/flink-gelly-scala/src/main/scala/org/apache/flink/graph/scala/Graph.scala:42: > value getJavaEnv is not a member of > org.apache.flink.api.scala.ExecutionEnvironment* > *[error] wrapGraph(jg.Graph.fromDataSet[K, VV, EV](vertices.javaSet, > edges.javaSet, env.getJavaEnv))* > *[error] > ^* > *[error] > /home/ubuntu/git/flink-learning/flink-gelly-scala/src/main/scala/org/apache/flink/graph/scala/Graph.scala:51: > value getJavaEnv is not a member of > org.apache.flink.api.scala.ExecutionEnvironment* > *[error] wrapGraph(jg.Graph.fromDataSet[K, EV](edges.javaSet, > env.getJavaEnv))* > > The content of built.sbt file: > > *name := "flink-graph-metrics"* > > *version := "1.0"* > > *scalaVersion := "2.11.6"* > > *libraryDependencies ++= Seq("org.apache.flink" % "flink-scala" % "0.9.1", > "org.apache.flink" % "flink-clients" % "0.9.1", "org.apache.flink" % > "flink-gelly" % "0.9.1")* > > *fork in run := true* > > > Do you know how to fix this problem? > > Thanks, > Do > > ================================== > Le Quoc Do > Dresden University of Technology > Faculty of Computer Science > Institute for System Architecture > Systems Engineering Group > 01062 Dresden > E-Mail: d...@se.inf.tu-dresden.de >