Groovy - Grab - download failed

前端 未结 7 1091
梦如初夏
梦如初夏 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:11

    Deleting .m2 and grapes did not resolve the issue for me as when they were repopulated, the jar was not being downloaded. In my case, I was missing xml-apis-1.3.04.jar

    I eventually resolved the issue by manually downloading the jar file and copying it into ~/.m2/repository/xml-apis/xml-apis/<version>

    Hopefully this is useful if simply deleting the directories isn't working.

    0 讨论(0)
提交回复
热议问题