Hi! This looks like your IDE setup is not quite correct. The Scala library is probably not in the classpath when you launch the program.
Please check if you correctly installed your Scala Plugin, of the Scala Lib has been added to the build path in the project properties, ... Greetings, Stephan On Mon, Aug 17, 2015 at 9:39 PM, Nyamath Ulla Khan <ullak...@gmail.com> wrote: > Hi All, > I have just started learning Apache Flink and found the guide link to > start the development in EClipse IDE. > > > https://ci.apache.org/projects/flink/flink-docs-master/quickstart/java_api_quickstart.html > > When I RUN the WordCount.java file as Application it is throwing the below > though i have scala-library 2.10.4 which contains the > scala.collection,Traversable class in it. > > 00:20:26,993 INFO org.apache.flink.api.java.ExecutionEnvironment > - The job has 0 registered types and 0 default Kryo serializers > Exception in thread "main" java.lang.NoClassDefFoundError: > scala/collection/Traversable > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:800) > at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) > at java.net.URLClassLoader.access$100(URLClassLoader.java:71) > at java.net.URLClassLoader$1.run(URLClassLoader.java:361) > > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > at java.security.AccessController.doPrivileged(Native Method) > > I'm not sure what I am missing over here. > > Please help out to overcome from this issue. > > -- > Thanks and Regards > Nyamath Ulla Khan >