Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AFBB1200B39 for ; Sat, 25 Jun 2016 03:54:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AE5F4160A5A; Sat, 25 Jun 2016 01:54:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 01F2D160A58 for ; Sat, 25 Jun 2016 03:54:20 +0200 (CEST) Received: (qmail 11545 invoked by uid 500); 25 Jun 2016 01:54:19 -0000 Mailing-List: contact dev-help@gearpump.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gearpump.incubator.apache.org Delivered-To: mailing list dev@gearpump.incubator.apache.org Received: (qmail 11533 invoked by uid 99); 25 Jun 2016 01:54:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jun 2016 01:54:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D8C5F18056A for ; Sat, 25 Jun 2016 01:54:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.446 X-Spam-Level: X-Spam-Status: No, score=-5.446 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 5TipUlQPgHpH for ; Sat, 25 Jun 2016 01:54:18 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id 1701C5F29C for ; Sat, 25 Jun 2016 01:54:16 +0000 (UTC) Received: (qmail 11524 invoked by uid 99); 25 Jun 2016 01:54:16 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jun 2016 01:54:16 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1A6F52C033A for ; Sat, 25 Jun 2016 01:54:16 +0000 (UTC) Date: Sat, 25 Jun 2016 01:54:16 +0000 (UTC) From: "HYG (JIRA)" To: dev@gearpump.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEARPUMP-162) the way to run examples should be documented MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 25 Jun 2016 01:54:21 -0000 [ https://issues.apache.org/jira/browse/GEARPUMP-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15349005#comment-15349005 ] HYG commented on GEARPUMP-162: ------------------------------ thank you for your reply. actually i am curious about debugging, and why i cannnot run the main method using sbt, which i could run before. > 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)