Return-Path: X-Original-To: apmail-groovy-users-archive@minotaur.apache.org Delivered-To: apmail-groovy-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 74CDF19F5E for ; Fri, 15 Apr 2016 15:40:21 +0000 (UTC) Received: (qmail 4012 invoked by uid 500); 15 Apr 2016 15:40:21 -0000 Delivered-To: apmail-groovy-users-archive@groovy.apache.org Received: (qmail 3984 invoked by uid 500); 15 Apr 2016 15:40:21 -0000 Mailing-List: contact users-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.apache.org Delivered-To: mailing list users@groovy.apache.org Received: (qmail 3974 invoked by uid 99); 15 Apr 2016 15:40:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Apr 2016 15:40:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8E32E1A01F6 for ; Fri, 15 Apr 2016 15:40:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.965 X-Spam-Level: * X-Spam-Status: No, score=1.965 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.652, URI_HEX=1.313] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id oNUSYu3VtLCA for ; Fri, 15 Apr 2016 15:40:19 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTP id 5C9BF5F572 for ; Fri, 15 Apr 2016 15:40:19 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id 91BBF254FD17 for ; Fri, 15 Apr 2016 08:27:19 -0700 (PDT) Date: Fri, 15 Apr 2016 08:40:18 -0700 (MST) From: marbon To: users@groovy.incubator.apache.org Message-ID: <1460734818774-5732344.post@n5.nabble.com> Subject: No signature of method MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, i have the following Java-Code that i want to convert to groovy: My current version in groovy is this: My problem is, that i get the following error, when i try to run the groovy code: The Java-exec-Method has the signature: I tried to cast "new ExecStartResultCallback(System.out, System.err)" to "ResultCallback", but it did not work. Is there any way to force Groovy to handle the instance as a ResultCallback-Instance so that the correct method is called? Regards, marbon -- View this message in context: http://groovy.329449.n5.nabble.com/No-signature-of-method-tp5732344.html Sent from the Groovy Users mailing list archive at Nabble.com.