Forum Discussion

shabar's avatar
shabar
Contributor
12 years ago

How to download ivy dependencies files

Hi Al,,

I am getting following error when executing the below line of code


Grape.grab(group:"ant", module:"ant-jsch", version:"1.6.5")


Error

java.lang.NoClassDefFoundError: org/apache/ivy/core/settings/IvySettings


Is there way to identify and download those files seperately


Cheers

7 Replies

  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    hi,
    could you check if what is described in this post fix your problem: viewtopic.php?f=2&t=21006#p49561
    It seems that storing directly in the lib directory instead of the ext directory fix the issue

    Also note that regarding which soapui version you use, the groovy version is not the same (see the release notes: https://github.com/SmartBear/soapui/blo ... ENOTES.txt), so the additonal jar versions may need to be upgraded:
    * prior to 4.6.2 (Released 2013-12-02) : groovy 1.8.0
    * as of 4.6.2 : groovy 2.1.7

    Please, tell me if this works for you with this
    Thanks
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    hi, could you provide more information?
    are you using a groovy script inside soapui? by default, ivy is not available in the soapui (see the lib folder). You may add ivy jar in the ext folder to make this work
  • Hi redfish4ktc2,

    Sorry for the less info.

    Yes I am using groovy script inside soap.

    My question is how do I find the correct jar and where could I download same.

    BTW I downloaded groovy libraries [http://groovy.codehaus.org/Download] and placed in Soap/..../bin/ext and restarted soapUI.

    No luck though.


    Cheers
  • Thanks redfish4ktc2

    Your post resolve my issue to a some extent.

    I get the below error though


    : The following error occurred while executing this line: jar:file:/D:/SmartBear/SoapUI-Pro-4.6.3/lib/ant-1.9.2.jar!/org/apache/tools/ant/antlib.xml:37:
    Problem: failed to create task or type componentdef Cause: The name is undefined.
    Action: Check the spelling. Action: Check that any custom tasks/types have been declared.
    Action: Check that any / declarations have taken place. error at line: 40


    Just wondering whether this is version issue


    Cheers
  • Thanks redfish4ktc2

    spot on... ant 1.6.2 worked fine