groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marbon <mar...@mailbox.org>
Subject No signature of method
Date Fri, 15 Apr 2016 15:40:18 GMT
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.

Mime
View raw message