Hi, while trying to update a set of Groovy scripts from 3.0.9 to 4.0.0, I get the following error when I run one of them:
Caught: BUG! exception in phase 'semantic analysis' in source unit 'myscript.groovy' No such property: importPackages for class: org.codehaus.groovy.ast.ModuleNode BUG! exception in phase 'semantic analysis' in source unit 'myscript.groovy' No such property: importPackages for class: org.codehaus.groovy.ast.ModuleNode at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) Caused by: groovy.lang.MissingPropertyException: No such property: importPackages for class: org.codehaus.groovy.ast.ModuleNode Caused by: groovy.lang.MissingPropertyException: No such property: importPackages for class: org.codehaus.groovy.ast.ModuleNode Any idea how to solve this? Thanks... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com<mailto:dhein...@opentext.com> Website: www.recommind.de<mail://ab5defde1fa49913f64f8482009c4be447b3cf96/Gesendete%20Elemente/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.