gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEARPUMP-162) the way to run examples should be documented
Date Wed, 26 Jul 2017 02:35:01 GMT

     [ https://issues.apache.org/jira/browse/GEARPUMP-162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Manu Zhang updated GEARPUMP-162:
--------------------------------
    Fix Version/s: 0.8.5

> 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
>            Assignee: Manu Zhang
>             Fix For: 0.8.5
>
>
> 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.4.14#64029)

Mime
View raw message