Hello Everyone,
I am currently progressing through the Administration 101 Course for XNAT, and I've come across an issue while trying to execute PopulateXnat. I managed to resolve one part of the problem, but the other part remains unsolved, and I'm hoping to find some guidance or suggestions on how to proceed.
When I initially attempted to run the command (with the actual username and password):
"groovy PopulateXnat.groovy -u username -p password -s
https://sgbmxnat01/ -d Fruit_Struct"
I received the following error messages:
./PopulateXnat.groovy: 26: unable to resolve class CliBuilder @ line 26, column 18. final CliBuilder cli = new CliBuilder
./PopulateXnat.groovy: 55: unable to resolve class OptionAccessor @ line 55, column 22. final OptionAccessor params = cli.parse(args)
To resolve the first error, I added "import groovy.cli.commons.CliBuilder" to PopulateXnat.groovy, and the issue with the CliBuilder class was fixed. However, the second error remains, and I'm still seeing the message: ./PopulateXnat.groovy: 55: unable to resolve class OptionAccessor @ line 55, column 22. final OptionAccessor params = cli.parse(args).
I'm unsure of how to proceed in fixing this issue. I'm uncertain whether this problem is due to a missing step or a technical issue that I've been unable to pinpoint. I tried to search this forum and the internet for similar problems without any success.
I would greatly appreciate any guidance or resources to help resolve this.
Thank you in advance for your support.
Best Regards,
Vincent F.