gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HYG (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GEARPUMP-162) the way to run examples should be documented
Date Wed, 22 Jun 2016 14:34:58 GMT
HYG created GEARPUMP-162:
----------------------------

             Summary: the way to run examples should be documented
                 Key: GEARPUMP-162
                 URL: https://issues.apache.org/jira/browse/GEARPUMP-162
             Project: Apache Gearpump
          Issue Type: Improvement
          Components: streaming
    Affects Versions: 0.8.1
         Environment: linux mint 18 beta
            Reporter: HYG


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?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message