Uploaded image for project: 'Apache Gearpump'
  1. Apache Gearpump
  2. GEARPUMP-162

the way to run examples should be documented

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.1
    • 0.8.5
    • streaming
    • None
    • linux mint 18 beta

    Description

      in sbt, to run the wordcount example using the command "gearpump-examples-wordcount/run" will cause the classnotfound exception:

      error] (run-main-0) java.lang.NoClassDefFoundError: com/typesafe/config/Config
      java.lang.NoClassDefFoundError: com/typesafe/config/Config
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
      at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
      at java.lang.Class.getMethod0(Class.java:3018)
      at java.lang.Class.getMethod(Class.java:1784)
      Caused by: java.lang.ClassNotFoundException: com.typesafe.config.Config
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
      at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
      at java.lang.Class.getMethod0(Class.java:3018)
      at java.lang.Class.getMethod(Class.java:1784)

      it seems to lack the main method's augument akkaConf: Config in the command, however, no doc was found how to construct this augument to the "main" method.
      in addition, in previous version, like b5f11040b775062eb4b3143144d0316b45766054, to run this example without akkaConf argument will work.
      so, i believe this should be illustrated, and i still couldn't work it out now, can anyone help?

      Attachments

        Activity

          People

            mauzhang Manu Zhang
            pipsqueak HYG
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment