title: Flink Word Count Example is missing a library
body: <p>I am trying to run the example program using Flink. I downloaded the example project using</p>
  
  <p><code>mvn archetype:generate  -DarchetypeGroupId=org.apache.flink -DarchetypeArtifactId=flink-quickstart-scala -DarchetypeVersion=0.8.1</code></p>
  
  <p>I then ran the following command on a terminal  </p>
  
  <p><code>mvn package &amp;&amp; java -cp target/test-1.0-SNAPSHOT.jar adfin.WordCount</code></p>
  
  <p>I got the following error </p>
  
  <blockquote>
    <p>Exception in thread "main" java.lang.NoClassDefFoundError:          org/apache/flink/api/common/typeinfo/TypeInformation
        at adfin.WordCount.main(WordCount.scala)
    Caused by: java.lang.ClassNotFoundException: org.apache.flink.api.common.typeinfo.TypeInformation
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)</p>
  </blockquote>
  
  <p>I tried updating the library from the default 0.8.1 to 1.0.0 but that didn't change anything. I suppose there might be an extra jar I would have to add in. Can anyone help?</p>