Why do my wildcard imports fail?
To use classes within a Groovy code studio or Persistent Query, you must import them. For example, to use the Java LinkedBlockingQueue, you would import it as follows:
Sometimes, when you want to use many different classes from the same package, using a wildcard import with an asterisk (*) is convenient. For example, to import all classes in org.apache.commons.text, you might import:
If you have not imported an individual class from this package, then you get an error message like the following on a Core+ worker:
Or on a Legacy worker:
You can work around this error by importing at least one class from the package before the wild card import: