Forum Discussion
Cybele
13 years agoOccasional Contributor
The issue is to do with the installation of the groovy-wslite library, which I'm trying to use in order to instantiate a SoapClient object.
If I include the following at the top of the script:
... I get the following error:
If I remove it from the script, I get the following error:
Can anyone indicate how I install the groovy-wslite library, please?
If I include the following at the top of the script:
@Grab(group='com.github.groovy-wslite', module='groovy-wslite', version='0.7.1')
... I get the following error:
java.lang.NoClassDefFoundError: org/apache/ivy/core/settings/IvySettings
If I remove it from the script, I get the following error:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script6.groovy: 23: unable to resolve class SOAPClient @ line 23, column 18.
def client = new SOAPClient(clientURL)
^
org.codehaus.groovy.syntax.SyntaxException: unable to resolve class SOAPClient @ line 23, column 18.
Can anyone indicate how I install the groovy-wslite library, please?