You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gearpump.apache.org by "Manu Zhang (JIRA)" <ji...@apache.org> on 2016/06/23 21:51:16 UTC

[jira] [Commented] (GEARPUMP-162) the way to run examples should be documented

    [ https://issues.apache.org/jira/browse/GEARPUMP-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15347275#comment-15347275 ] 

Manu Zhang commented on GEARPUMP-162:
-------------------------------------

Hi [~pipsqueak], we run examples like 

{code}
bin/gear app -jar examples/wordcount-2.11-0.8.0-assembly.jar io.gearpump.streaming.examples.wordcount.WordCount
{code}

which is documented in [http://gearpump.incubator.apache.org/releases/latest/submit-your-1st-application.html] 

> 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)