Re: Groovy 4.0.0: No such property: importPackages for class: org.codehaus.groovy.ast.ModuleNode

Paul King <[email protected]>
Newsgroups gmane.comp.lang.groovy.user
Message-ID <CAMbkE7RSbFWjsEuWOcMF47=0s-Gru3rHVodDAzBvbgGW5m=QfQ@mail.gmail.com>
I don't know if it will make any difference but assuming you are not using
ASTBuilder, there is a little experiment you could try.

I'd rename "groovy-astbuilder-4.0.0.jar" in your "lib" folder to something
like "groovy-astbuilder-4.0.0.jar.bak" and see if that makes any
difference. Just a total guess but that's the only place in the Groovy
codebase I could find using the "importPackages" name.

Cheers, Paul.

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Fri, Mar 4, 2022 at 10:58 PM Dirk Heinrichs <dheinric-gGaKbNYk6w1Wk0Htik3J/[email protected]>
wrote:

> Am Freitag, dem 04.03.2022 um 22:45 +1000 schrieb Paul King:
>
> Thanks, and how are you referencing Groovy? I.e. a local install or
> particular modules through a build? JDK version would also be useful.
>
>
> It's a local install from ZIP, and I simply invoke my script with it, like
> "/path/to/groovy -cp libdir /path/to/script". JDK is 11.0.13, installed per
> Ubuntu's default-jdk package.
>
> Bye...
>
> Dirk
>
> --
>
> *Dirk Heinrichs*
> Senior Systems Engineer, Delivery Pipeline
> OpenText ™ Discovery | Recommind
> *Phone*: +49 2226 15966 18
> *Email*: dheinric-gGaKbNYk6w1Wk0Htik3J/[email protected]
> *Website*: www.recommind.de
> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan,
> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail. Any
> unauthorized copying, disclosure or distribution of the material in this
> e-mail is strictly forbidden
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
> Weitergabe dieser Mail sind nicht gestattet.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.