-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example GroovyScript throws IllegalStateException registering runner class TestNgRunner #1885
Comments
Thank you for raising this! Looks similar to #1874. I hope I will have time to look at this the coming weekend. Note to self: potential causes:
|
I am not sure how you are setting the classpath for your script. Since the maven coordinates changed from |
Thank you @paulk-asert for pointing that out, and for providing the workaround (in #1874)!
This issue was caused by #1613, which made This is fixed in the main branch now and the fix will be part of the picocli 4.7.1 release. Until then, please use the above workaround. |
Running the example code at https://picocli.info/#_groovy_scripts results in the following exception:
Running
groovy -v
returnsThe text was updated successfully, but these errors were encountered: