Groovy - Grab - download failed

前端 未结 7 1110
梦如初夏
梦如初夏 2020-12-08 09:29

I have a fresh installation of Groovy 2.1.4 and I\'d like to create a script that uses HTTP builder.

I\'ve added the following line at the top of the script:

7条回答
  •  没有蜡笔的小新
    2020-12-08 10:02

    this might help someone down the line as i faced similar issue in windows

    java.lang.RuntimeException: Error grabbing Grapes -- [download failed: commons-collections#commons-collections;3.2.2!commons-collections.jar]

    the required jar above was not being downloaded in C:/Users/%USER%/.groovy/grapes/common-collections/jars/ folder.
    so manually downloaded the required version from https://jar-download.com/
    and added in the corresponding folder

提交回复
热议问题