flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Bartnik <bart...@campus.tu-berlin.de>
Subject NoSuchMethodError when using the Flink Gelly library with Scala
Date Fri, 06 May 2016 12:47:43 GMT

I am trying to run the code examples from the Gelly documentation, in 
particular this code:

import org.apache.flink.api.scala._
import org.apache.flink.graph.generator.GridGraph

object SampleObject {
   def main(args: Array[String]) {

     val env = ExecutionEnvironment.getExecutionEnvironment

     val graph = new GridGraph(env.getJavaEnv).addDimension(2, 
true).addDimension(4, true).generate()


I created the project using the maven quickstart script, and compiling 
works fine,
but when I want to execute the jar on my local machine, the following 
error occurs:

My pom.xml looks like this:



Scala -version prints: Scala code runner version 2.11.6 -- Copyright 
2002-2013, LAMP/EPFL


View raw message