我正在尝试使用centoOS服务器上的grails项目清理grails ...它开始下载依赖项但是卡在特定的jar上,如果我尝试直接从浏览器下载jar它工作但挂起时我做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 ...
答案 0 :(得分:1)
也许您处于需要代理才能访问外部资源的网络环境中
您可以使用添加代理
添加Grails命令使用的代理配置http://grails.org/doc/latest/ref/Command%20Line/add-proxy.html