Grails cannot load jar from maven repo

I'm trying to make grails clean in my grails project on the centoOS server ... It starts loading dependencies, but gets stuck on a specific jar if I try to load the jar directly from a browser that works, but hangs when I do it grails clean

[root]# /root/grails-1.3.4/bin/grails clean Welcome to Grails 1.3.4 - http://grails.org/ Licensed under Apache Standard License 2.0 Grails home is set to: /root/grails-1.3.4 Base Directory: /root/cooldealsnew Resolving dependencies... Dependencies resolved in 1435ms. Running script /root/grails-1.3.4/scripts/Clean.groovy Environment set to development Downloading: http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar ... 
+4
source share
1 answer

You may be in a network environment that requires a proxy server to access external resources.

you can add proxy configurations used by Grails commands with add-proxy

http://grails.org/doc/latest/ref/Command%20Line/add-proxy.html

+1
source

Source: https://habr.com/ru/post/1348068/


All Articles