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 BE61F200CDF for ; Wed, 26 Jul 2017 04:35:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BD033168049; Wed, 26 Jul 2017 02:35:05 +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 100F3168045 for ; Wed, 26 Jul 2017 04:35:04 +0200 (CEST) Received: (qmail 58797 invoked by uid 500); 26 Jul 2017 02:35:04 -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 58786 invoked by uid 99); 26 Jul 2017 02:35:04 -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; Wed, 26 Jul 2017 02:35:04 +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 8EC1F18070B for ; Wed, 26 Jul 2017 02:35:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-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 KG_ch56wFmAb for ; Wed, 26 Jul 2017 02:35:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 07C365F613 for ; Wed, 26 Jul 2017 02:35:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3FF5AE0D5B for ; Wed, 26 Jul 2017 02:35:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id AFCC423F05 for ; Wed, 26 Jul 2017 02:35:00 +0000 (UTC) Date: Wed, 26 Jul 2017 02:35:00 +0000 (UTC) From: "Manu Zhang (JIRA)" To: dev@gearpump.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (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: Wed, 26 Jul 2017 02:35:05 -0000 [ https://issues.apache.org/jira/browse/GEARPUMP-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16101082#comment-16101082 ] Manu Zhang edited comment on GEARPUMP-162 at 7/26/17 2:34 AM: -------------------------------------------------------------- This should work now after https://github.com/apache/incubator-gearpump/pull/200 was (Author: mauzhang): This should work now > 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 > 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)